public class ExplorerInputInterpreter extends DiagramInputInterpreter
DIAGRAM_DESC, PROPERTY_DESC, STRUCTURE_DESC| Constructor and Description |
|---|
ExplorerInputInterpreter(IContentViewerPane contentViewerPane)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canSupportOverlay(org.eclipse.gmf.runtime.notation.Diagram diagram)
Determines whether we can support the overlay feature for the given
diagram.
|
protected java.util.List |
getCustomBrowseViewModes(IContentViewerInput input,
java.util.List currentBrowseViewModes)
Returns the list of custom browse view modes for the specified input.
|
protected java.util.List |
getCustomCurrentViewModes(IContentViewerInput input,
java.util.List currentDefaultViewModes)
Returns the custom current view modes associated with this digram input
interpreter.
|
java.util.List |
getExplorerElements(IViewerData viewerData,
java.util.List list)
Returns the viewer element used by to be high in the model explorer base
on the selected delta or conflict on the structural pane
|
protected boolean |
hasEditingDomainChanged()
Checks if the editing domain has changed
|
protected boolean |
isRootChange(IContentViewerInput input) |
protected IContentDescriptor |
revealCustomContent(IContentViewerInput input,
IViewerData viewerData)
Reveals the custom content for the specified input and viewer
|
protected boolean |
setCustomContext(IContentViewerInput input,
IViewerData viewerData,
boolean force)
Sets the custom context for the specified input and viewer
|
protected boolean |
setInitialCustomBrowseContext(IContentViewerInput input,
IViewerData viewerData)
Sets the intial custom browse context associated with the current input
within the specified content viewer.
|
canBrowseCustomContext, executeMRunnable, getAffectedDiagrams, isDiagramChange, isDiagramElementsChange, setCustomBrowseContext, setShowInitialDiagramInBrowseMode, showInitialDiagramInBrowseModepublic ExplorerInputInterpreter(IContentViewerPane contentViewerPane)
contentViewerPane - public java.util.List getExplorerElements(IViewerData viewerData,
java.util.List list)
viewerData - the viewer datalist - list of objects that are EObjects, that need to be wrappedprotected IContentDescriptor revealCustomContent(IContentViewerInput input,
IViewerData viewerData)
DiagramInputInterpreterrevealCustomContent in class DiagramInputInterpreterinput - the inputviewerData - the viewer datacom.ibm.xtools.comparemerge.emf.viewers.EmfInputInterpreter#revealCustomContent(com.ibm.xtools.comparemerge.ui.controller.IContentViewerInput,
com.ibm.xtools.comparemerge.ui.utils.IViewerData)protected boolean setCustomContext(IContentViewerInput input,
IViewerData viewerData,
boolean force)
DiagramInputInterpretersetCustomContext in class DiagramInputInterpreterinput - the inputviewerData - the viewer dataforce - flag to indicate whether the input is forcedtrue if successful, false
otherwisecom.ibm.xtools.comparemerge.emf.viewers.EmfInputInterpreter#setCustomContext(com.ibm.xtools.comparemerge.ui.controller.IContentViewerInput,
com.ibm.xtools.comparemerge.ui.utils.IViewerData, boolean)protected java.util.List getCustomCurrentViewModes(IContentViewerInput input,
java.util.List currentDefaultViewModes)
DiagramInputInterpretergetCustomCurrentViewModes in class DiagramInputInterpretercom.ibm.xtools.comparemerge.emf.viewers.EmfInputInterpreter#getCustomCurrentViewModes(com.ibm.xtools.comparemerge.ui.controller.IContentViewerInput,
java.util.List)protected boolean setInitialCustomBrowseContext(IContentViewerInput input,
IViewerData viewerData)
DiagramInputInterpretersetInitialCustomBrowseContext in class DiagramInputInterpreterinput - the input associated, which represents the current selection
in the StructureViewerviewerData - the associated viewer datacom.ibm.xtools.comparemerge.emf.viewers.EmfInputInterpreter#setInitialCustomBrowseContext(com.ibm.xtools.comparemerge.ui.controller.IContentViewerInput,
com.ibm.xtools.comparemerge.ui.utils.IViewerData)protected boolean hasEditingDomainChanged()
true if editing domain has changed
false otherwiseprotected java.util.List getCustomBrowseViewModes(IContentViewerInput input,
java.util.List currentBrowseViewModes)
DiagramInputInterpretergetCustomBrowseViewModes in class DiagramInputInterpreterinput - the input associatedcurrentBrowseViewModes - the EMF browse modesViewModeDescriptorcom.ibm.xtools.comparemerge.emf.viewers.EmfInputInterpreter#getCustomBrowseViewModes(com.ibm.xtools.comparemerge.ui.controller.IContentViewerInput,
java.util.List)protected boolean isRootChange(IContentViewerInput input)
protected boolean canSupportOverlay(org.eclipse.gmf.runtime.notation.Diagram diagram)
canSupportOverlay in class DiagramInputInterpreterdiagram - The diagram object