Class WidgetTreeEditpart

java.lang.Object
org.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractTreeEditPart
org.csstudio.opibuilder.editparts.WidgetTreeEditpart
All Implemented Interfaces:
IAdaptable, org.eclipse.gef.EditPart, org.eclipse.gef.RequestConstants, org.eclipse.gef.TreeEditPart
Direct Known Subclasses:
ContainerTreeEditpart

public class WidgetTreeEditpart extends org.eclipse.gef.editparts.AbstractTreeEditPart
Basic tree editpart for all widgets.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractEditPart

    org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
  • Field Summary

    Fields inherited from class org.eclipse.gef.editparts.AbstractTreeEditPart

    widget

    Fields inherited from class org.eclipse.gef.editparts.AbstractEditPart

    children, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAG

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    protected Image
     
    protected String
     
     
    protected void
     

    Methods inherited from class org.eclipse.gef.editparts.AbstractTreeEditPart

    addChildVisual, checkTreeItem, getChildren, getDragTracker, getWidget, removeChildVisual, reorderChild, setWidget, setWidgetImage, setWidgetText

    Methods inherited from class org.eclipse.gef.editparts.AbstractEditPart

    activateEditPolicies, addChild, addEditPartListener, addNotify, createChild, deactivate, deactivateEditPolicies, debug, debugFeedback, eraseSourceFeedback, eraseTargetFeedback, fireActivated, fireChildAdded, fireDeactivated, fireRemovingChild, fireSelectionChanged, getAccessibleEditPart, getAdapter, getCommand, getEditPolicy, getEditPolicyIterable, getEditPolicyIterator, getEventListeners, getEventListenersIterable, getFlag, getModel, getModelChildren, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, refreshChildren, register, registerAccessibility, registerModel, registerVisuals, removeChild, removeEditPartListener, removeEditPolicy, removeNotify, setFlag, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest, unregister, unregisterAccessibility, unregisterModel, unregisterVisuals

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.gef.EditPart

    addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter
  • Constructor Details

  • Method Details

    • createEditPolicies

      protected void createEditPolicies()
      Overrides:
      createEditPolicies in class org.eclipse.gef.editparts.AbstractTreeEditPart
    • activate

      public void activate()
      Specified by:
      activate in interface org.eclipse.gef.EditPart
      Overrides:
      activate in class org.eclipse.gef.editparts.AbstractEditPart
    • getWidgetModel

      public AbstractWidgetModel getWidgetModel()
    • getImage

      protected Image getImage()
      Overrides:
      getImage in class org.eclipse.gef.editparts.AbstractTreeEditPart
    • getText

      protected String getText()
      Overrides:
      getText in class org.eclipse.gef.editparts.AbstractTreeEditPart
    • refreshVisuals

      protected void refreshVisuals()
      Overrides:
      refreshVisuals in class org.eclipse.gef.editparts.AbstractTreeEditPart