Package org.cfeclipse.cfml.snippets.preferences

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


    }
    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

  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

Related Classes of org.cfeclipse.cfml.snippets.preferences.CFMLPreferenceManager

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.