|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--elge.engine.EngineConfiguration
This class is responsible for the configuration of engine.
Field Summary | |
protected boolean |
autoSave
Auto save config |
protected boolean |
autoSearch
Auto search |
protected Locale |
language
the current application language |
protected int |
maxRecent
the maximum of recent projects |
protected String |
name
Engine name |
protected String |
ppath
Path for projects |
protected Vector |
recent
recent projects |
protected boolean |
showError
Show error dialog |
protected Hashtable |
wl
Windows locations.. |
Constructor Summary | |
EngineConfiguration()
Creates new EngineConfiguration |
Method Summary | |
boolean |
getAutoSave()
Auto save option of configuration |
boolean |
getAutoSearch()
Auto search of classes in pools. |
Locale |
getLanguage()
gets the language |
String |
getLanguageString()
gets the language |
int |
getMaxRecent()
get the max recent project number |
String |
getName()
gets the name |
String |
getProjectPath()
gets the project path |
Vector |
getRecentProjects()
get the recent project paths vector |
boolean |
getShowErrorDialog()
Gets the show error dialog option |
Hashtable |
getWindowsLocations()
gets the window location |
void |
setAutoSave(boolean as)
Sets the auto save option |
void |
setAutoSearch(boolean as)
Sets the autosearch |
void |
setLanguage(Locale lang)
sets the language |
void |
setLanguageString(String lang)
sets the language |
void |
setName(String name)
sets the name |
void |
setProjectPath(String ppath)
sets the project path |
void |
setRecentProjects(Vector paths)
sets recent projects. |
void |
setShowErrorDialog(boolean as)
Sets the show error dialog option |
void |
setWindowsLocations(Hashtable wl)
sets the windows location hash |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Vector recent
protected int maxRecent
protected String name
protected String ppath
protected Hashtable wl
protected boolean autoSearch
protected boolean autoSave
protected boolean showError
protected Locale language
Constructor Detail |
public EngineConfiguration()
Method Detail |
public boolean getAutoSearch()
setAutoSearch(boolean)
public void setAutoSearch(boolean as)
as
- valuegetAutoSearch()
public boolean getAutoSave()
public void setAutoSave(boolean as)
as
- valuepublic boolean getShowErrorDialog()
public void setShowErrorDialog(boolean as)
as
- value to set topublic String getName()
public void setName(String name)
name
- value to set to namepublic Locale getLanguage()
public void setLanguage(Locale lang)
lang
- the locale to set as languagepublic String getLanguageString()
public void setLanguageString(String lang)
lang
- the locale string to set as languagepublic String getProjectPath()
public void setProjectPath(String ppath)
ppath
- value for project pathpublic Hashtable getWindowsLocations()
public void setWindowsLocations(Hashtable wl)
wl
- the windows location hashpublic int getMaxRecent()
public void setRecentProjects(Vector paths)
paths
- the paths of projectspublic Vector getRecentProjects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |