Package net.sf.myway.edit.ui.editors

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

TOP

Related Classes of net.sf.myway.edit.ui.editors.MapEditorInput

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.