Examples of TreePartFactory


Examples of info.textgrid.lab.noteeditor.factories.TreePartFactory

      super(viewer);
    }

    protected void configureOutlineViewer() {
      getViewer().setEditDomain(getEditDomain());
      getViewer().setEditPartFactory(new TreePartFactory());
      ContextMenuProvider provider = new MusicContextMenuProvider(
          getViewer(), getActionRegistry());
      getViewer().setContextMenu(provider);
      getSite().registerContextMenu(
          "info.textgrid.lab.noteeditor.outline.contextmenu", //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.gef.examples.logicdesigner.edit.TreePartFactory

    bars.updateActionBars();
  }

  protected void configureOutlineViewer(){
    getViewer().setEditDomain(getEditDomain());
    getViewer().setEditPartFactory(new TreePartFactory());
    ContextMenuProvider provider = new LogicContextMenuProvider(getViewer(), getActionRegistry());
    getViewer().setContextMenu(provider);
    getSite().registerContextMenu(
      "org.eclipse.gef.examples.logic.outline.contextmenu", //$NON-NLS-1$
      provider, getSite().getSelectionProvider());
View Full Code Here

Examples of org.locationtech.udig.printing.ui.internal.editor.parts.TreePartFactory

    public void createControl( Composite parent ) {
        pagebook = new PageBook(parent, SWT.NONE);
        Control outline = getViewer().createControl(pagebook);
        getViewer().setEditDomain(editor.getEditDomain());
        getViewer().setEditPartFactory(new TreePartFactory());
        // getViewer().setKeyHandler(editor.getCommonKeyHandler());

        ContextMenuProvider cmProvider = new PageContextMenuProvider(getViewer(), editor
                .getActionRegistry());
        getViewer().setContextMenu(cmProvider);
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.