Package org.cfeclipse.cfml.editors.actions

Examples of org.cfeclipse.cfml.editors.actions.GenericOpenFileAction.run()


        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


                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
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.