Package org.cfeclipse.cfml.editors

Examples of org.cfeclipse.cfml.editors.ColorManager


   
    fDetector = detector;
   
    if(DEBUG)
    {
      ColorManager cm = new ColorManager();
           
      manager = new ColorManager();
      prefManager = new CFMLPreferenceManager();
     
      space = new Token(new TextAttribute(
        cm.getColor(spacecolor),
        null,
        /* manager.getColor(
          prefManager.getColor(CFMLColorsPreferenceConstants.P_COLOR_DEFAULT_TEXT)
        ),
       
        manager.getColor(
          prefManager.getColor(CFMLColorsPreferenceConstants.P_COLOR_CFNUMBER)
        ), */
        TextAttribute.STRIKETHROUGH
      ));
     
      tab = new Token(new TextAttribute(
        cm.getColor(tabcolor),
        null,
        /*manager.getColor(
          prefManager.getColor(CFMLColorsPreferenceConstants.P_COLOR_DEFAULT_TEXT)
        ),
        manager.getColor(
 
View Full Code Here


  }
   
  private Control createPreviewer(Composite parent) {
    fPreviewViewer = new SourceViewer(parent, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
        fEditor = new CFMLEditor();
        ColorManager colorMan = new ColorManager();
    CFConfiguration configuration = new CFConfiguration(colorMan,fEditor);
 
    fPreviewViewer.configure(configuration);
    fPreviewViewer.setEditable(false)
    Font font= JFaceResources.getFont(JFaceResources.TEXT_FONT);
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.editors.ColorManager

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.