Examples of CFMLPreferenceManager


Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

   * @param parent
   * the container of the example
   */
  public CFBrowser(Composite parent,WorkbenchPart container)
  {
    preferenceManager = new CFMLPreferenceManager();
    this.container = container;
    //initResources();
    final Display display = parent.getDisplay();
    FormLayout layout = new FormLayout();
    parent.setLayout(layout);
View Full Code Here

Examples of org.cfeclipse.cfml.snippets.preferences.CFMLPreferenceManager

              SnipExPreferenceConstants.P_SNIPEX_URL8
            };
   
    Object[] snipex = new Object[0];
   
    CFMLPreferenceManager pm = SnippetPlugin.getDefault().getPreferenceManager();
   
    for(int i = 0; i < prefKeys.length; i++ ) {
     
      String url = pm.getStringPref( prefKeys[i] );
      if( url.trim().length() > 0 ) {
        try {
          Object[] temp = new Object[1];
          temp[0] = new SnipEx( new URL( url ) , false);
          snipex = appendArrays(snipex, temp);
View Full Code Here

Examples of org.cfeclipse.cfml.snippets.preferences.CFMLPreferenceManager

    }
    return val;
  }

  public void performIndent(String indentString) {
    CFMLPreferenceManager preferenceManager = SnippetPlugin.getDefault().getPreferenceManager();
    int tabWidth = preferenceManager.tabWidth();
    boolean insertSpacesForTabs = preferenceManager.insertSpacesForTabs();
    int i;
    // nasty hack until preferences are sorted
    if(tabWidth < 1) {
      tabWidth = 4;
    }
View Full Code Here

Examples of org.cfeclipse.cfml.snippets.preferences.CFMLPreferenceManager

  public void start(BundleContext context) throws Exception {
    super.start(context);
    CFPluginImages.initCFPluginImages();
    this.propertyStore = new PreferenceStore(SnippetPlugin.getDefault().getStateLocation().toString()
        + "/properties.ini");
    fPreferenceManager = new CFMLPreferenceManager();
    try {
      fPropertyManager = new CFMLPropertyManager();
    } catch (Exception e) {
      e.printStackTrace();
      System.out.println(e);
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.