Package org.mongodb.meclipse.views.objects

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


    // Get the selection
    IStructuredSelection selection = (IStructuredSelection) view
        .getViewer().getSelection();

    if (selection != null && selection instanceof IStructuredSelection) {
      Collection obj = (Collection) selection.getFirstElement();
      // If we had a selection lets open the editor
      if (obj != null) {
        CollectionEditorInput input = new CollectionEditorInput(obj);
        try {
          page.openEditor(input, CollectionEditor.ID);
View Full Code Here

TOP

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

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.