|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridFilter
Filter used in g-eclipse views
| Method Summary | |
|---|---|
ViewerFilter |
getFilter()
|
java.lang.String |
getFilterId()
|
boolean |
isEnabled()
Useful when in given filter configuration user doesn't want to use all filters (e.g. user want to filter jobs using status, but he haven't specified submission date) |
IGridFilter |
makeClone()
Cloning is used in ConfigureFiltersDialog, so it's important that every IGridFilter implement clone |
void |
readState(IMemento filterMemento)
Read filter state from IMemento |
void |
saveState(IMemento filterMemento)
Saves filter state into IMemento |
| Method Detail |
|---|
boolean isEnabled()
void saveState(IMemento filterMemento)
IMemento
filterMemento - memento, in which filter state should be storedvoid readState(IMemento filterMemento)
IMemento
filterMemento - memento, from which filter state will be restoredViewerFilter getFilter()
ViewerFilter implementation used by eclipse StructuredViewer
IGridFilter makeClone()
throws java.lang.CloneNotSupportedException
ConfigureFiltersDialog, so it's important that every IGridFilter implement clone
java.lang.CloneNotSupportedExceptionjava.lang.String getFilterId()
IGridFilter
class should has unique id. Objects of the same class should have
the same id.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||