g-Eclipse
Release 1.0.0

eu.geclipse.ui.views.filters
Interface IGridFilterConfiguration

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AbstractGridFilterConfiguration, JobViewFilterConfiguration

public interface IGridFilterConfiguration
extends java.lang.Cloneable

Interface, which gather all possible filters, which can be applied on the view. Implementations should collect all filters for one specific view.


Method Summary
 IGridFilterConfiguration clone()
           
 java.util.List<IGridFilter> getFilters()
           
 java.lang.String getName()
           
 boolean isEnabled()
           
 void read(IMemento configurationMemento)
          Reads configuration and all filters from memento
 void saveState(IMemento memento)
          Saves configuration and all filters into memento
 void setEnabled(boolean enabled)
           
 

Method Detail

getName

java.lang.String getName()
Returns:
configuration name

isEnabled

boolean isEnabled()
Returns:
true if filters in this configuration should be applied into view

saveState

void saveState(IMemento memento)
Saves configuration and all filters into memento

Parameters:
memento -

read

void read(IMemento configurationMemento)
Reads configuration and all filters from memento

Parameters:
configurationMemento -

getFilters

java.util.List<IGridFilter> getFilters()
Returns:
all enabled IGridFilter objects from this configuration, which should be applied to the view

clone

IGridFilterConfiguration clone()
                               throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

setEnabled

void setEnabled(boolean enabled)
Parameters:
enabled - true if filters in this configuration should be applied to the view

g-Eclipse
Release 1.0.0