Examples of XMLNodeActionManager


Examples of org.eclipse.wst.xml.ui.internal.contentoutline.XMLNodeActionManager

  class NodeActionMenuListener implements IMenuListener {
    public void menuAboutToShow(IMenuManager menuManager) {
      // used to disable NodeSelection listening while running
      // NodeAction
      XMLNodeActionManager nodeActionManager = new XMLNodeActionManager(((IDOMDocument) getInput()).getModel(), XMLTableTreeViewer.this) {
        public void beginNodeAction(NodeAction action) {
          super.beginNodeAction(action);
        }

        public void endNodeAction(NodeAction action) {
          super.endNodeAction(action);
        }
      };
      nodeActionManager.fillContextMenu(menuManager, getSelection());
    }
View Full Code Here

Examples of org.eclipse.wst.xml.ui.internal.contentoutline.XMLNodeActionManager

   * @param treeViewer
   *            the TreeViewer associated with this configuration
   * @return a node action manager for use with this tree viewer
   */
  protected XMLNodeActionManager createNodeActionManager(TreeViewer treeViewer) {
    return new XMLNodeActionManager((IStructuredModel) treeViewer.getInput(), treeViewer);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.