Class ElementMatcher
- java.lang.Object
-
- org.eclipse.e4.ui.workbench.modeling.ElementMatcher
-
-
Constructor Summary
Constructors Constructor Description ElementMatcher(java.lang.String id, java.lang.Class<?> clazz, java.lang.String tag)ElementMatcher(java.lang.String id, java.lang.Class<?> clazz, java.util.List<java.lang.String> tagsToMatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanselect(MApplicationElement element)Call for each element to find matching elements
-
-
-
Constructor Detail
-
ElementMatcher
public ElementMatcher(java.lang.String id, java.lang.Class<?> clazz, java.lang.String tag)- Parameters:
id- The elementId of the desired elementclazz- The class specification of the desired elementtag- A tag which must be specified on the desired element
-
ElementMatcher
public ElementMatcher(java.lang.String id, java.lang.Class<?> clazz, java.util.List<java.lang.String> tagsToMatch)- Parameters:
id- The elementId of the desired elementclazz- The class specification of the desired elementtagsToMatch- A list of tags which must all be specified on the desired element
-
-
Method Detail
-
select
public boolean select(MApplicationElement element)
Description copied from interface:SelectorCall for each element to find matching elements
-
-