Examples of open()


Examples of org.cfeclipse.cfml.dialogs.EditCustomTagDialog.open()

  public void run(){
    EditCustomTagDialog ectd;
   
    if(this.tag != null){
      ectd = new EditCustomTagDialog(this.shell, this.tag);
      ectd.open();
    } else {
      ectd = new EditCustomTagDialog(this.shell);
      ectd.open();
    }
   
View Full Code Here

Examples of org.cfeclipse.cfml.dialogs.EditURLDialog.open()

          // TODO Auto-generated catch block
          e.printStackTrace();
        }
     
       
      if(eud.open() == IDialogConstants.OK_ID){
        //lets save this
          try {
            resource.setPersistentProperty(new QualifiedName("", CFMLPreferenceConstants.P_PROJECT_URL), eud.getUrl());
            URLDecorator.getURLDecorator().refresh();
           
View Full Code Here

Examples of org.cfeclipse.cfml.dialogs.GetterAndSetterDialog.open()

  public void run(IAction action) {
   
   
    //We open a dialog, with a tree
    GetterAndSetterDialog dialog = new GetterAndSetterDialog(editor.getSite().getShell());
    dialog.open();
   
    int startpos = docselection.getOffset();
    int len = Math.max(docselection.getLength(),1);
   
    //check what type of document this is
View Full Code Here

Examples of org.cfeclipse.cfml.dialogs.SetMappingDialog.open()

   */
  public void run(IAction action) {
    // Create a mapping dialog
    SetMappingDialog dialog = new SetMappingDialog(this.shell, this.resource);

    if(dialog.open() == IDialogConstants.OK_ID) {
      logger.trace("Setting mapping (" + dialog.getMappingName() + ") on resource (" + resource.getName() + ")");
      MappingManager.setMapping(this.resource, dialog.getMappingName());
      logger.trace("Mapping for " + resource.getName() + ": " + MappingManager.getMapping(resource));
    }
  }
View Full Code Here

Examples of org.cfeclipse.cfml.dialogs.TagEditDialog.open()

      tagview.setSelectedattributes(attributeMap);

      /*
       * Once the editor closes, we do this
       */
      if (tagview.open() == IDialogConstants.OK_ID) {
        Properties fieldStore = tagview.getFieldStore(); // The new
                                  // items
        ArrayList propOrder = new ArrayList(); // The order of the itmes
        Properties attributesToRender = new Properties(); // The
                                  // attributes
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.dialogs.CSAddBeanDialog.open()

        if(sel.getFirstElement() instanceof TreeParentNode){
          TreeParentNode selNode = (TreeParentNode)sel.getFirstElement();
          if(selNode.getType().equals(FrameworkManager.COLDSPRING)){
            CSAddBeanDialog addDialog = new  CSAddBeanDialog(viewer.getControl().getShell());
         
            if(addDialog.open() == IDialogConstants.OK_ID){
              String id = addDialog.getCfcName().getText();
              String className = addDialog.getCfcExtends().getText();
              System.out.println("Dialog says " + id + " " + className);
              Document document = selNode.getDocument();
              Element child = document.getRootElement();
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.dialogs.EditActionDialog.open()

        Object selElement = tableActions.getSelection()[0].getData();
        if (selElement instanceof Element) {
          Element new_name = (Element) selElement;
          EditActionDialog ead = new EditActionDialog(tableActions.getShell());
          ead.setSelectedElement((Element)selElement);
          ead.open();
         
        }
       
       
      }
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.dialogs.FrameworkEditDialog.open()

    addButton.addMouseListener(new MouseListener(){
      public void mouseDoubleClick(MouseEvent e) {}
      public void mouseDown(MouseEvent e) {
     
        FrameworkEditDialog fed = new FrameworkEditDialog(getShell());
        fed.open();
       
       
      }
      public void mouseUp(MouseEvent e) {}
    });
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.dialogs.SetResourceAsFramework.open()

  /**
   * @see IActionDelegate#run(IAction)
   */
  public void run(IAction action) {
    SetResourceAsFramework seaf = new SetResourceAsFramework(this.shell, this.resource);
    if(seaf.open() == IDialogConstants.OK_ID){
        String selectedFramework = seaf.getSelectedFramework();
        try {
         
          if(selectedFramework != null){
            ConfigFileDecorator configFileDecorator = ConfigFileDecorator.getConfigFileDecorator();
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.dialogs.ViewXMLDialog.open()

   
    viewXMLAction = new Action(){
      public void run() {
       
        ViewXMLDialog vxd = new ViewXMLDialog(getSite().getShell()((FrameworksContentProvider)viewer.getContentProvider()).getVirtualDocument());
        vxd.open();
        // open dialog with just an XML thing
      }
    };
    viewXMLAction.setImageDescriptor(FWXImages.getImageRegistry().getDescriptor(FWXImages.ICON_XML_VIEW));
   
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.