Examples of MapEditorInput


Examples of net.sf.myway.edit.ui.editors.MapEditorInput

        final ISelection selection = getViewer().getSelection();
        final Object obj = ((IStructuredSelection) selection).getFirstElement();
        if (obj instanceof Region || obj instanceof ScannedMap)
          try {
            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
              .openEditor(new MapEditorInput((NamedUuidEntity) obj), MapEditor.ID);
          }
          catch (final PartInitException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
          }
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.MapEditorInput

   
    MapEditorPart mapEditor = (MapEditorPart) PlatformUI.getWorkbench()
      .getActiveWorkbenchWindow().getActivePage().getActiveEditor();
    assertNotNull(mapEditor);
   
    MapEditorInput input = (MapEditorInput) mapEditor.getEditorInput();
    assertEquals(map, input.getProjectElement());
  }
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.MapEditorInput

      return MapEditorWithPalette.ID;
    }
   
    @Override
    public IEditorInput getEditorInput() {
        return new MapEditorInput(getLayer().getMap());
    }
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.