org.eclipse.gmt.umlx.editor.outlines
Class GSheetOutline<M extends GSheet>

java.lang.Object
  extended by org.eclipse.gef.editparts.AbstractEditPart
      extended by org.eclipse.gef.editparts.AbstractTreeEditPart
          extended by org.eclipse.gmt.umlx.editor.outline.AbstractOutline
              extended by org.eclipse.gmt.umlx.editor.outline.NotifierOutline<M>
                  extended by org.eclipse.gmt.umlx.editor.outlines.GSheetOutline<M>
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.gef.EditPart, org.eclipse.gef.RequestConstants, org.eclipse.gef.TreeEditPart, IModelChangeListener, INotifierElement, IOutlineElement, IVisibleElement

public class GSheetOutline<M extends GSheet>
extends NotifierOutline<M>


Field Summary
 
Fields inherited from interface org.eclipse.gef.EditPart
SELECTED, SELECTED_NONE, SELECTED_PRIMARY
 
Fields inherited from interface org.eclipse.gef.RequestConstants
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
 
Constructor Summary
GSheetOutline(IRegimeCo0<M,?> regime, OutlineViewer viewer, M model)
           
 
Method Summary
 boolean handleDoubleClick()
          Handle a double click.
 void modelChanged(org.eclipse.emf.common.notify.Notification msg)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.outline.NotifierOutline
activate, computeProblemMessage, deactivate, doRefreshChildren, doRefreshMappings, doRefreshMarkers, doRefreshNotifiers, doRefreshVisuals, getEditPart, getModel, getProblem, getViewer, queueRefreshVisuals, refresh
 
Methods inherited from class org.eclipse.gmt.umlx.editor.outline.AbstractOutline
canDelete, toString
 
Methods inherited from class org.eclipse.gef.editparts.AbstractTreeEditPart
getDragTracker, getWidget, setWidget
 
Methods inherited from class org.eclipse.gef.editparts.AbstractEditPart
addEditPartListener, addNotify, eraseSourceFeedback, eraseTargetFeedback, getAdapter, getChildren, getCommand, getEditPolicy, getParent, getRoot, getSelected, getTargetEditPart, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.refresh.INotifierElement
isActive, isSelectable
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.refresh.IVisibleElement
canDelete
 
Methods inherited from interface org.eclipse.gef.EditPart
addEditPartListener, addNotify, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getParent, getRoot, getSelected, getTargetEditPart, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

GSheetOutline

public GSheetOutline(IRegimeCo0<M,?> regime,
                     OutlineViewer viewer,
                     M model)
Method Detail

handleDoubleClick

public boolean handleDoubleClick()
Description copied from interface: IOutlineElement
Handle a double click.

Specified by:
handleDoubleClick in interface IOutlineElement
Overrides:
handleDoubleClick in class NotifierOutline<M extends GSheet>
Returns:
false if element does not handle double clicks

modelChanged

public void modelChanged(org.eclipse.emf.common.notify.Notification msg)
Specified by:
modelChanged in interface IModelChangeListener
Specified by:
modelChanged in interface INotifierElement
Overrides:
modelChanged in class NotifierOutline<M extends GSheet>