|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.util.PropertiesBean
projectviewer.importer.AutoReimporter.Options
public static class AutoReimporter.Options
Class that encapsulates the auto-reimport options.
Constructor Summary | |
---|---|
AutoReimporter.Options(VPTProject p)
|
Method Summary | |
---|---|
ImporterFileFilter |
_getFilter()
Returns the file filter to use during reimport. |
void |
_setFilter(ImporterFileFilter filter)
Sets the filter to use during reimport. |
void |
clean(java.util.Properties p)
Cleans the config options related to this object. |
boolean |
getAddHiddenFiles()
Returns whether to import hidden files. |
boolean |
getCurrentOnly()
Returns whether to only look at current directories. |
boolean |
getEnabled()
Returns the enabled flag. |
int |
getPeriod()
Returns the periodicity of reimports, in minutes. |
void |
load(java.util.Properties p)
Loads the information, including the filter info. |
void |
load(java.util.Properties p,
java.util.List<ImporterFileFilter> filters)
Loads the information, using the given list of filters as a base for the filter search. |
void |
save(java.util.Properties p)
Saves the information, including the filter info. |
void |
setAddHiddenFiles(boolean b)
Sets whether to import hidden files. |
void |
setCurrentOnly(boolean b)
Sets whether the auto-reimport will only check existing directories in the project. |
void |
setEnabled(boolean p)
Set the enabled flag. |
void |
setPeriod(int p)
Set the periodicity of the auto-reimport, in minutes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoReimporter.Options(VPTProject p)
Method Detail |
---|
public void setEnabled(boolean p)
public boolean getEnabled()
public void setPeriod(int p)
public int getPeriod()
public void setCurrentOnly(boolean b)
public boolean getCurrentOnly()
public void setAddHiddenFiles(boolean b)
public boolean getAddHiddenFiles()
public void _setFilter(ImporterFileFilter filter)
public ImporterFileFilter _getFilter()
public void save(java.util.Properties p)
save
in class org.gjt.sp.util.PropertiesBean
p
- Properties object.public void load(java.util.Properties p)
load
in class org.gjt.sp.util.PropertiesBean
p
- Properties object.public void load(java.util.Properties p, java.util.List<ImporterFileFilter> filters)
p
- Properties object.filters
- List of ImporterFileFilter.public void clean(java.util.Properties p)
clean
in class org.gjt.sp.util.PropertiesBean
p
- Properties object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |