Package org.fusesource.ide.camel.editor.outline.tree

Examples of org.fusesource.ide.camel.editor.outline.tree.AbstractNodeTreeEditPart


  }

  @Override
  public void setSelectedNode(AbstractNode newSelection) {
    if (newSelection != null) {
      AbstractNodeTreeEditPart selectEditPart = AbstractNodeTreeEditPart.findEditPart(newSelection, getViewer().getRootEditPart());
      if (selectEditPart != null) {
        getViewer().setSelection(new StructuredSelection(selectEditPart));
      } else {
        Activator.getLogger().error("Could not find editPart for selection: " + newSelection, new Exception());
      }
View Full Code Here


          AbstractNode node = AbstractNodes.toAbstractNode(item.getData());
          if (node != null) {
            return node.getDisplayToolTip();
          }
          if (data instanceof AbstractNodeTreeEditPart) {
            AbstractNodeTreeEditPart nodeTree = (AbstractNodeTreeEditPart) data;
            return nodeTree.getToolTip();
          }
        }
        return super.getText(event);
      }
     
View Full Code Here

TOP

Related Classes of org.fusesource.ide.camel.editor.outline.tree.AbstractNodeTreeEditPart

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.