Package org.cfeclipse.cfml.editors.actions

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


    //Thinking about this, instead of a Tag Item, maybe we should just use a Tag?
   
    if (obj instanceof TagItem) {
        TagItem tg = (TagItem)obj;
        InsertTagAction eta = new InsertTagAction(tg.getTag(), this.getViewSite().getShell());
          eta.run();
    }
    else if(obj instanceof FunctionItem){
        FunctionItem fn = (FunctionItem)obj;
        EditFunctionAction efa = new EditFunctionAction(fn.getFunction(), this.getViewSite().getShell());
          efa.run();
View Full Code Here


          if(buttonType.equals("cftag")){
            toolItem1.addSelectionListener(new SelectionAdapter() {
              public void widgetSelected(SelectionEvent evt) {
                ToolItem item = (ToolItem)evt.getSource();
                InsertTagAction ecta = new InsertTagAction(item.getData().toString(), shell);
                ecta.run();
              }
            });
          }
          else if(buttonType.equals("custom")){
           
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.