Package org.cfeclipse.cfml.editors.actions

Examples of org.cfeclipse.cfml.editors.actions.GenericOpenFileAction


        ISelection selection = viewer.getSelection();
        Object obj = ((IStructuredSelection)selection).getFirstElement();
      //  showMessage("Double-click detected on "+obj.toString());
        if(obj instanceof FileNode) {
          FileNode selectedFile = (FileNode)obj;
          GenericOpenFileAction openAction = new GenericOpenFileAction(selectedFile.getFile());
          openAction.run();
         
        }
      }
    };
  }
View Full Code Here


                Object obj = ((IStructuredSelection) selection).getFirstElement();

                if (obj instanceof ComponentNode)
                {
                    ComponentNode component = (ComponentNode) obj;
                    GenericOpenFileAction openAction = new GenericOpenFileAction(component.getFile());
                    openAction.run();
                }
                else if (obj instanceof FunctionNode)
                {
                    FunctionNode fnode = (FunctionNode) obj;
                    insert(fnode.getInvokeSnippet());
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.editors.actions.GenericOpenFileAction

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.