Examples of ATGEditor


Examples of at.ssw.coco.ide.editor.ATGEditor

    IWorkbench wb = PlatformUI.getWorkbench();
    IWorkbenchWindow win = wb.getActiveWorkbenchWindow();
    IWorkbenchPage page = win.getActivePage();
    IEditorPart part = page.getActiveEditor();
    if (part instanceof ATGEditor) {
       ATGEditor editor = (ATGEditor)part;
       return editor.getAtgAstManager().getAtgAst();
    }
    return null;
  }
View Full Code Here

Examples of at.ssw.coco.ide.editor.ATGEditor

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {   
   
    shell = HandlerUtil.getActiveShell(event);
    ATGEditor atgEditor = (ATGEditor) HandlerUtil.getActiveEditor(event);
   
    ISelection selection = HandlerUtil.getCurrentSelection(event);
   
    if( selection != null && selection instanceof ITextSelection ) {
      info = new ReformatInfo(atgEditor,
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.