Examples of CFMLPreferenceManager


Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

    catch (Exception e)
    {
      //System.err.println("CFMLPropertyManager::CFMLPropertyManager() - Couldn't load property store");
      //e.printStackTrace();
    }
    this.preferenceManager = new CFMLPreferenceManager();
  }
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

  private void setBackgroundColor() {
    // Only try to set the background color when the source fViewer is
    // available
    if (this.getSourceViewer() != null
        && this.getSourceViewer().getTextWidget() != null) {
      CFMLPreferenceManager manager = new CFMLPreferenceManager();
      // Set the background color of the editor
      this.getSourceViewer().getTextWidget().setBackground(
          new org.eclipse.swt.graphics.Color(Display.getCurrent(), manager
              .getColor(EditorPreferenceConstants.P_COLOR_BACKGROUND)));
    }
  }
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

    if(DEBUG)
    {
      ColorManager cm = new ColorManager();
           
      manager = new ColorManager();
      prefManager = new CFMLPreferenceManager();
     
      space = new Token(new TextAttribute(
        cm.getColor(spacecolor),
        null,
        /* manager.getColor(
 
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

  public CodeFoldingSetter(ITextEditor editor) {
    this.editor = editor;
    model = (ProjectionAnnotationModel) editor.getAdapter(ProjectionAnnotationModel.class);
    doc = (ICFDocument) editor.getDocumentProvider().getDocument(editor.getEditorInput());
    resource = ((IFile) editor.getEditorInput().getAdapter(IFile.class));
    preferenceManager = new CFMLPreferenceManager();
    restoredFoldState = false;
  }
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

  private CFMLPreferenceManager prefs;
  private static boolean fParseCFScriptCFCs;

  public CFPartitionScanner()
  {
    prefs = new CFMLPreferenceManager();
    fParseCFScriptCFCs = prefs.parseCFScriptCFCs();
    IToken doctype     = new Token(DOCTYPE);
    IToken cfComment   = new Token(CF_COMMENT);
    IToken cfscriptCommentBlock = new Token(CF_SCRIPT_COMMENT_BLOCK);
    IToken cfscriptComment = new Token(CF_SCRIPT_COMMENT);
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

      return val;
    }

 
  public void performIndent(String indentString) {
      CFMLPreferenceManager preferenceManager = new CFMLPreferenceManager();
      int tabWidth = preferenceManager.tabWidth();
      boolean insertSpacesForTabs = preferenceManager.insertSpacesForTabs();
      int i;
     
     
      if (!insertSpacesForTabs) {
          String spaces = "";
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

   */
  public CFConfiguration(ColorManager colorManager, CFMLEditor editor)
  {
    this.colorManager = colorManager;
    this.editor = editor;
    preferenceManager = new CFMLPreferenceManager();
    //this.undoManager = new CFEUndoManager(preferenceManager.maxUndoSteps());
   
    indentCFScriptStrategy = new CFScriptIndentStrategy(editor);
    this.indentTagStrategy = new TagIndentStrategy(editor);
   
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

  }

  protected void initializeDefaultPluginPreferences() {

    // super.initializeDefaultPluginPreferences();
    CFMLPreferenceManager preferenceManager = new CFMLPreferenceManager();
    preferenceManager.initializeDefaultValues();

    try {
      CFMLPropertyManager propertyManager = new CFMLPropertyManager();
    } catch (Exception e) {
      e.printStackTrace();
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

   * Create the example
   * @see ViewPart#createPartControl
   */
  public void createPartControl(Composite frame)
  {
      CFMLPreferenceManager preferenceManager = new CFMLPreferenceManager();
    try
    {
        if (preferenceManager.tabbedBrowser()) {
          folder = new TabFolder(frame,SWT.TOP);
          TabItem item = new TabItem(folder,SWT.NONE);
          item.setText("Project browser");
          Composite container = new Composite(folder,SWT.NONE);
          item.setControl(container);
View Full Code Here

Examples of org.cfeclipse.cfml.preferences.CFMLPreferenceManager

              SnipExPreferenceConstants.P_SNIPEX_URL8
            };
   
    Object[] snipex = new Object[0];
   
    CFMLPreferenceManager pm = new CFMLPreferenceManager();
   
    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
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.