public static class AutoReimporter.Options
extends org.gjt.sp.util.PropertiesBean
Constructor and Description |
---|
AutoReimporter.Options(VPTProject p) |
Modifier and Type | Method and Description |
---|---|
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.
|
public AutoReimporter.Options(VPTProject p)
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.