Package org.cfeclipse.cfml.preferences

Examples of org.cfeclipse.cfml.preferences.BrowserPreferencePage


      msg.setText("Oops!");
      msg.setMessage("The Browser application cannot be found in " + browserAppPath
          + " Would you like to edit your preferences now?");
      int result = msg.open();
      if (result == SWT.YES) {
        IPreferencePage page = new BrowserPreferencePage();
        page.setTitle("Browsers");
        page.setDescription("You can define the  primary and secondary browsers that are launched when you press F12(primary) and Shift+F12(secondary)");
        PreferenceManager mgr = new PreferenceManager();
        IPreferenceNode node = new PreferenceNode("1", page);
        mgr.addToRoot(node);
        PreferenceDialog dialog = new PreferenceDialog(this.editor.getSite().getShell(), mgr);
        dialog.create();
        dialog.setMessage(page.getTitle());
        dialog.open();
      }
      return;
    }
    String[] cmd = new String[] { browserAppPath, url };
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.preferences.BrowserPreferencePage

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.