public class QueryExplorer
extends org.eclipse.ui.part.ViewPart
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
static PatternsViewerInput |
patternsViewerInput |
static java.lang.String |
QUERY_EXPLORER_ANNOTATION |
static java.lang.String |
QUERY_EXPLORER_CHECKED_PARAMETER |
| Constructor and Description |
|---|
QueryExplorer() |
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String QUERY_EXPLORER_ANNOTATION
public static final java.lang.String QUERY_EXPLORER_CHECKED_PARAMETER
public static final java.lang.String ID
public static PatternsViewerInput patternsViewerInput
public QueryEvaluationHint getHints()
QueryEvaluationHint instance used when creating matcherspublic void setHints(QueryEvaluationHint hints)
hints - the hints to setjava.lang.NullPointerException - if the given hint instance is nullpublic RootContent getRootContent()
public void load(PatternMatcherRootContentKey key, IModelConnector modelConnector)
public IModelConnector getModelConnector(PatternMatcherRootContentKey key)
public java.util.Collection<PatternMatcherRootContentKey> getPatternMatcherRootContentKeys()
public void unload(IModelConnector modelConnector)
public void unload(PatternMatcherRootContentKey key)
public static QueryExplorer getInstance()
public static QueryExplorer getInstance(org.eclipse.ui.IWorkbenchWindow activeWorkbenchWindow)
public org.eclipse.jface.viewers.TreeViewer getMatcherTreeViewer()
public PatternsViewerFlatContentProvider getFlatContentProvider()
public PatternsViewerFlatLabelProvider getFlatLabelProvider()
public PatternsViewerHierarchicalContentProvider getHierarchicalContentProvider()
public PatternsViewerHierarchicalLabelProvider getHierarchicalLabelProvider()
public void init(org.eclipse.ui.IViewSite site,
org.eclipse.ui.IMemento memento)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IViewPartinit in class org.eclipse.ui.part.ViewPartorg.eclipse.ui.PartInitExceptionpublic void clearTableViewer()
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void refreshPatternsViewer()
public PatternsViewerInput getPatternsViewerRoot()
public org.eclipse.jface.viewers.CheckboxTreeViewer getPatternsViewer()
public org.eclipse.viatra.query.tooling.ui.queryexplorer.content.flyout.FlyoutControlComposite getPatternsViewerFlyout()
public void saveState(org.eclipse.ui.IMemento memento)
saveState in interface org.eclipse.ui.IPersistablesaveState in interface org.eclipse.ui.IViewPartsaveState in class org.eclipse.ui.part.ViewPartpublic void setPackagePresentation(java.lang.String command,
boolean update)