Package org.mongodb.meclipse.views.objects

Examples of org.mongodb.meclipse.views.objects.TreeObject


        if (selection.isEmpty()) {
          MeclipseView.this.fillContextMenu(manager);
          return;
        }
        TreeObject obj = (TreeObject) selection.getFirstElement();

        manager.add(new Separator());
        obj.fillContextMenu(manager);

      }
    });
    Menu menu = menuMgr.createContextMenu(viewer.getControl());
    viewer.getControl().setMenu(menu);
View Full Code Here


    connection.setImageDescriptor(Images.getDescriptor(Images.PageCommit));

    doubleClickAction = new Action() {
      public void run() {
        ISelection selection = viewer.getSelection();
        TreeObject obj = (TreeObject) ((IStructuredSelection) selection)
            .getFirstElement();
        obj.doubleClickAction();
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.mongodb.meclipse.views.objects.TreeObject

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.