public class RootContent extends CompositeContent<java.lang.Object,PatternMatcherRootContent>
QueryExplorer
's tree viewer.parent, text
Constructor and Description |
---|
RootContent() |
Modifier and Type | Method and Description |
---|---|
void |
addPatternMatcherRoot(org.eclipse.ui.IEditorPart editorPart,
org.eclipse.emf.common.notify.Notifier notifier,
QueryEvaluationHint hint) |
void |
addPatternMatcherRoot(PatternMatcherRootContentKey key,
QueryEvaluationHint hint) |
org.eclipse.core.databinding.observable.list.IObservableList |
getChildren()
Returns the
IObservableList of child elements. |
java.util.Iterator<PatternMatcherRootContent> |
getChildrenIterator()
Returns an iterator on the child elements.
|
java.lang.String |
getText()
Returns the label that will be displayed in the
QueryExplorer for this content. |
org.eclipse.jface.viewers.TreeViewer |
getViewer() |
void |
removePatternMatcherRoot(org.eclipse.ui.IEditorPart editorPart,
org.eclipse.emf.ecore.resource.ResourceSet res) |
void |
removePatternMatcherRoot(PatternMatcherRootContentKey key) |
void |
setViewer(org.eclipse.jface.viewers.TreeViewer viewer) |
dispose, updateHasChildren
getParent, setText
public void addPatternMatcherRoot(org.eclipse.ui.IEditorPart editorPart, org.eclipse.emf.common.notify.Notifier notifier, QueryEvaluationHint hint)
public void addPatternMatcherRoot(PatternMatcherRootContentKey key, QueryEvaluationHint hint)
public void removePatternMatcherRoot(org.eclipse.ui.IEditorPart editorPart, org.eclipse.emf.ecore.resource.ResourceSet res)
public void removePatternMatcherRoot(PatternMatcherRootContentKey key)
public java.lang.String getText()
BaseContent
QueryExplorer
for this content.getText
in class BaseContent<java.lang.Object>
public org.eclipse.core.databinding.observable.list.IObservableList getChildren()
CompositeContent
IObservableList
of child elements.getChildren
in class CompositeContent<java.lang.Object,PatternMatcherRootContent>
public java.util.Iterator<PatternMatcherRootContent> getChildrenIterator()
CompositeContent
getChildrenIterator
in class CompositeContent<java.lang.Object,PatternMatcherRootContent>
public void setViewer(org.eclipse.jface.viewers.TreeViewer viewer)
public org.eclipse.jface.viewers.TreeViewer getViewer()