Package es.iiia.shapeeditor

Examples of es.iiia.shapeeditor.ShapeEditor.doSaveAs()


 
  public Object execute(ExecutionEvent event) throws ExecutionException {   
    // save depending on active editor
    if (HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().getActiveEditor() != null) {
      ShapeEditor se = (ShapeEditor) HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().getActiveEditor();
      se.doSaveAs();
      LoadHandler.addRecentFile(ShapeGrammarModel.ACTIVE_SHAPE_GRAMMAR.getCurrentFileName());
    } else {
      // TODO: Be sure this does not happen!!!
    }
   
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.