diff options
author | sbouchet | 2009-05-18 15:32:17 +0000 |
---|---|---|
committer | sbouchet | 2009-05-18 15:32:17 +0000 |
commit | 3d9f46c69fb85791b7dfd76e7ab7b7d3b7c8bf25 (patch) | |
tree | 9fe382646b1aeabf38523e4b6892df282df5fb09 /plugins/org.eclipse.emf.eef.components.edit | |
parent | 04c0cece037b0dfa6e99b7af34d5e158f5d3e27b (diff) | |
download | org.eclipse.eef-3d9f46c69fb85791b7dfd76e7ab7b7d3b7c8bf25.tar.gz org.eclipse.eef-3d9f46c69fb85791b7dfd76e7ab7b7d3b7c8bf25.tar.xz org.eclipse.eef-3d9f46c69fb85791b7dfd76e7ab7b7d3b7c8bf25.zip |
externalization of filters
Diffstat (limited to 'plugins/org.eclipse.emf.eef.components.edit')
-rw-r--r-- | plugins/org.eclipse.emf.eef.components.edit/src-gen/org/eclipse/emf/eef/components/parts/PropertiesEditionElementPropertiesEditionPart.java | 90 |
1 files changed, 66 insertions, 24 deletions
diff --git a/plugins/org.eclipse.emf.eef.components.edit/src-gen/org/eclipse/emf/eef/components/parts/PropertiesEditionElementPropertiesEditionPart.java b/plugins/org.eclipse.emf.eef.components.edit/src-gen/org/eclipse/emf/eef/components/parts/PropertiesEditionElementPropertiesEditionPart.java index 6aef3917c..2d39d7bd4 100644 --- a/plugins/org.eclipse.emf.eef.components.edit/src-gen/org/eclipse/emf/eef/components/parts/PropertiesEditionElementPropertiesEditionPart.java +++ b/plugins/org.eclipse.emf.eef.components.edit/src-gen/org/eclipse/emf/eef/components/parts/PropertiesEditionElementPropertiesEditionPart.java @@ -9,7 +9,7 @@ * Obeo - initial API and implementation * * - * $Id: PropertiesEditionElementPropertiesEditionPart.java,v 1.3 2009/05/05 12:05:07 sbouchet Exp $ + * $Id: PropertiesEditionElementPropertiesEditionPart.java,v 1.4 2009/05/18 15:32:17 sbouchet Exp $ */ package org.eclipse.emf.eef.components.parts; @@ -20,6 +20,7 @@ import java.util.List; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.jface.viewers.ViewerFilter; // End of user code @@ -32,37 +33,37 @@ public interface PropertiesEditionElementPropertiesEditionPart { * @return the name */ public String getName(); - + /** * Defines a new name * @param newValue the new name to set */ public void setName(String newValue); - + public void setMessageForName(String msg, int msgLevel); - + public void unsetMessageForName(); - + /** * @return the helpID */ public String getHelpID(); - + /** * Defines a new helpID * @param newValue the new helpID to set */ public void setHelpID(String newValue); - + public void setMessageForHelpID(String msg, int msgLevel); - + public void unsetMessageForHelpID(); - + /** * @return the model */ public EObject getModel(); - + /** * Init the model * @param allResources the ResourceSet where the widget have to process @@ -70,26 +71,49 @@ public interface PropertiesEditionElementPropertiesEditionPart { */ public void initModel(ResourceSet allResources, EObject current); -/** + /** * Defines a new model * @param newValue the new model to set */ public void setModel(EObject newValue); - - - - - + + /** + * Adds the given filter to the model edition editor. + * + * @param filter + * a viewer filter + * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) + */ + public void addFilterToModel(ViewerFilter filter); + + /** + * Adds the given filter to the model edition editor. + * + * @param filter + * a viewer filter + * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) + */ + public void addBusinessFilterToModel(ViewerFilter filter); + + + + + /** * @return the views to add */ public List getViewsToAdd(); - + /** * @return the views to remove */ public List getViewsToRemove(); - + + /** + * @return the current views + */ + public List getViewsTable(); + /** * Init the views * @param current the current value @@ -98,16 +122,34 @@ public interface PropertiesEditionElementPropertiesEditionPart { */ public void initViews(EObject current, EReference containingFeature, EReference feature); -/** + /** * Update the views * @param newValue the views to update */ public void updateViews(EObject newValue); - - - - - + + /** + * Adds the given filter to the views edition editor. + * + * @param filter + * a viewer filter + * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) + */ + public void addFilterToViews(ViewerFilter filter); + + /** + * Adds the given filter to the views edition editor. + * + * @param filter + * a viewer filter + * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter) + */ + public void addBusinessFilterToViews(ViewerFilter filter); + + + + + |