|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.views.FilterManager
The FilterManager is sort of a Factory for filters It holds all known Filters which can be accessed by their name. Additionally it has some comfort functions for loading/saving and models for the gui and a function to search for new filters.
| Nested Class Summary | |
static class |
FilterManager.FMListModel
No comment provided by developer, please add a comment to improve documentation. |
| Field Summary | |
static java.lang.String |
SETTINGS_FILE_EXT
No comment provided by developer, please add a comment to improve documentation. |
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Access method for an one to n association. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Access method for an one to n association. |
boolean |
addToFilters(Filter value)
Access method for an one to n association. |
protected boolean |
addToScannedFiles(java.lang.String value)
Access method for an one to n association. |
boolean |
addToSettingsFiles(ConfigurableFilter key,
java.io.File value)
Access method for an one to n association. |
boolean |
addToSettingsFiles(java.util.Map.Entry entry)
Access method for an one to n association. |
static Filter |
createInstance(java.lang.Class filterClass)
Instantiate the given filter class |
static Filter |
createInstance(java.io.File classFile)
Instantiate the class defined in the given file |
static Filter |
createInstance(java.util.zip.ZipFile classFile,
java.util.zip.ZipEntry entry)
Instantiate the class defined in the given file |
java.util.Iterator |
entriesOfFilters()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
entriesOfSettingsFiles()
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.beans.PropertyChangeEvent e)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
boolean oldValue,
boolean newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
double oldValue,
double newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
int oldValue,
int newValue)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
No comment provided by developer, please add a comment to improve documentation. |
static FilterManager |
get()
No comment provided by developer, please add a comment to improve documentation. |
Filter |
getFilter(java.lang.String name)
Get the filter attribute of the FilterManager object |
Filter |
getFromFilters(java.lang.String key)
Get the fromFilters attribute of the FilterManager object |
java.io.File |
getFromSettingsFiles(ConfigurableFilter key)
Get the fromSettingsFiles attribute of the FilterManager object |
java.lang.String |
getKeyFromFilters(Filter value)
Get the keyFromFilters attribute of the FilterManager object |
static javax.swing.ListCellRenderer |
getListCellRenderer()
A Renderer for Filters |
javax.swing.ComboBoxModel |
getListModel(UMLDiagram diagram)
Get the listModel attribute of the FilterManager object |
java.beans.PropertyChangeSupport |
getPropertyChangeSupport()
Get the propertyChangeSupport attribute of the FilterManager object |
javax.swing.ComboBoxModel |
getPrototypeListModel(UMLDiagram diagram)
|
boolean |
hasInFilters(Filter value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInFilters(java.lang.String key,
Filter value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInScannedFiles(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInSettingsFiles(ConfigurableFilter key,
java.io.File value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInSettingsFiles(java.io.File value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasKeyInFilters(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasKeyInSettingsFiles(ConfigurableFilter key)
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfFilters()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfScannedFiles()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfSettingsFiles()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
keysOfFilters()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
keysOfSettingsFiles()
No comment provided by developer, please add a comment to improve documentation. |
static ConfigurableFilter |
loadFilter(java.io.File file)
read the settings from the file and create a new Filter with them |
static ConfigurableFilter |
loadFilter(java.io.InputStream stream)
read the settings from the stream and create a new Filter with them |
void |
removeAllFromFilters()
No comment provided by developer, please add a comment to improve documentation. |
protected void |
removeAllFromScannedFiles()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromSettingsFiles()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromFilters(Filter value)
No comment provided by developer, please add a comment to improve documentation. |
protected boolean |
removeFromScannedFiles(java.lang.String value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromSettingsFiles(ConfigurableFilter key,
java.io.File value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromSettingsFiles(java.io.File value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeKeyFromFilters(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeKeyFromSettingsFiles(ConfigurableFilter key)
No comment provided by developer, please add a comment to improve documentation. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
rescanDir()
rescan the filter dir defined in the Environment Options |
static void |
saveFilter(ConfigurableFilter filter,
java.io.File file)
Save the Filter to the file |
static void |
saveFilter(ConfigurableFilter filter,
java.io.OutputStream stream)
Save the Filter to the Output Stream |
int |
sizeOfFilters()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfScannedFiles()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfSettingsFiles()
No comment provided by developer, please add a comment to improve documentation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final transient java.lang.String SETTINGS_FILE_EXT
| Method Detail |
public static FilterManager get()
public java.beans.PropertyChangeSupport getPropertyChangeSupport()
getPropertyChangeSupport in interface de.upb.tools.pcs.PropertyChangeInterfacepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface de.upb.tools.pcs.PropertyChangeClientlistener - The object added.
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface de.upb.tools.pcs.PropertyChangeClientpropertyName - The object added.listener - The object added.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface de.upb.tools.pcs.PropertyChangeClientlistener - No description provided
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface de.upb.tools.pcs.PropertyChangeClientpropertyName - No description providedlistener - No description providedprotected void firePropertyChange(java.beans.PropertyChangeEvent e)
e - No description provided
protected void firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
name - No description providedoldValue - No description providednewValue - No description provided
protected void firePropertyChange(java.lang.String name,
boolean oldValue,
boolean newValue)
name - No description providedoldValue - No description providednewValue - No description provided
protected void firePropertyChange(java.lang.String name,
int oldValue,
int newValue)
name - No description providedoldValue - No description providednewValue - No description provided
protected void firePropertyChange(java.lang.String name,
double oldValue,
double newValue)
name - No description providedoldValue - No description providednewValue - No description providedpublic static Filter createInstance(java.lang.Class filterClass)
filterClass - No description provided
public static Filter createInstance(java.io.File classFile)
classFile - No description provided
public static Filter createInstance(java.util.zip.ZipFile classFile,
java.util.zip.ZipEntry entry)
classFile - No description providedentry - No description provided
public static void saveFilter(ConfigurableFilter filter,
java.io.OutputStream stream)
filter - No description providedstream - No description provided
public static void saveFilter(ConfigurableFilter filter,
java.io.File file)
throws java.io.IOException
filter - No description providedfile - No description provided
java.io.IOException - Exception description not providedpublic static ConfigurableFilter loadFilter(java.io.InputStream stream)
stream - No description provided
public static ConfigurableFilter loadFilter(java.io.File file)
throws java.io.IOException
file - No description provided
java.io.IOException - Exception description not providedpublic void rescanDir()
#rescanDir(java.io.File)protected boolean addToScannedFiles(java.lang.String value)
value - The object added.
public boolean hasInScannedFiles(java.lang.String value)
value - No description provided
public java.util.Iterator iteratorOfScannedFiles()
public int sizeOfScannedFiles()
protected boolean removeFromScannedFiles(java.lang.String value)
value - No description provided
protected void removeAllFromScannedFiles()
public boolean hasInFilters(Filter value)
value - No description provided
public boolean hasInFilters(java.lang.String key,
Filter value)
key - No description providedvalue - No description provided
public boolean hasKeyInFilters(java.lang.String key)
key - No description provided
public java.util.Iterator iteratorOfFilters()
public java.util.Iterator keysOfFilters()
public java.util.Iterator entriesOfFilters()
public int sizeOfFilters()
public Filter getFromFilters(java.lang.String key)
key - No description provided
public java.lang.String getKeyFromFilters(Filter value)
value - No description provided
public boolean addToFilters(Filter value)
value - The object added.
public boolean removeFromFilters(Filter value)
value - No description provided
public boolean removeKeyFromFilters(java.lang.String key)
key - No description provided
public void removeAllFromFilters()
public Filter getFilter(java.lang.String name)
name - No description provided
public boolean hasInSettingsFiles(java.io.File value)
value - No description provided
public boolean hasInSettingsFiles(ConfigurableFilter key,
java.io.File value)
key - No description providedvalue - No description provided
public boolean hasKeyInSettingsFiles(ConfigurableFilter key)
key - No description provided
public java.util.Iterator iteratorOfSettingsFiles()
public java.util.Iterator keysOfSettingsFiles()
public java.util.Iterator entriesOfSettingsFiles()
public int sizeOfSettingsFiles()
public java.io.File getFromSettingsFiles(ConfigurableFilter key)
key - No description provided
public boolean addToSettingsFiles(ConfigurableFilter key,
java.io.File value)
key - The object added.value - The object added.
public boolean addToSettingsFiles(java.util.Map.Entry entry)
entry - The object added.
public boolean removeFromSettingsFiles(java.io.File value)
value - No description provided
public boolean removeFromSettingsFiles(ConfigurableFilter key,
java.io.File value)
key - No description providedvalue - No description provided
public boolean removeKeyFromSettingsFiles(ConfigurableFilter key)
key - No description provided
public void removeAllFromSettingsFiles()
public javax.swing.ComboBoxModel getListModel(UMLDiagram diagram)
diagram - No description provided
public javax.swing.ComboBoxModel getPrototypeListModel(UMLDiagram diagram)
diagram - No description provided
Filter.isForDiagram(de.uni_paderborn.fujaba.uml.UMLDiagram)public static javax.swing.ListCellRenderer getListCellRenderer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||