Package org.cfeclipse.cfml.dialogs

Examples of org.cfeclipse.cfml.dialogs.EditURLDialog


    this.action = action;
   
  }

  public void run(IAction action) {
      EditURLDialog eud = new EditURLDialog(targetpart.getSite().getShell());
      String url = "";
        try {
          url = resource.getPersistentProperty(new QualifiedName("", CFMLPreferenceConstants.P_PROJECT_URL));
          if(url != null && url.trim().length() > 0){
            eud.setUrl(url);
           
          }
        } catch (CoreException e) {
          // 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();
           
          } catch (CoreException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.dialogs.EditURLDialog

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.