Changeset 671
- Timestamp:
- 10/12/08 06:12:53 (3 months ago)
- Location:
- org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml
- Files:
-
- 3 modified
-
editors/CFConfiguration.java (modified) (2 diffs)
-
preferences/CFMLColorsPreferenceConstants.java (modified) (3 diffs)
-
preferences/CFMLColorsPreferencePage.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/editors/CFConfiguration.java
r659 r671 567 567 CFMLColorsPreferenceConstants.P_COLOR_CFCOMMENT 568 568 ) 569 ) 569 ), 570 colorManager.getColor( 571 preferenceManager.getColor( 572 CFMLColorsPreferenceConstants.P_COLOR_BACKGROUND_CFCOMMENT 573 ) 574 ), tabWidth 570 575 ) 571 576 ); … … 775 780 // System.out.println("CFConfiguration property change listener notified." + event.getProperty()); 776 781 String prop = event.getProperty(); 777 boolean setting = ((Boolean)event.getNewValue()).booleanValue(); 778 System.out.println("The Property we are setting is: " + prop + " [" + setting + "]"); 782 Object newValue = event.getNewValue(); 783 784 boolean setting = false; 785 Object settingObj = null; 786 787 if(newValue instanceof Boolean){ 788 setting = ((Boolean)newValue).booleanValue(); 789 } 790 else { 791 settingObj = newValue; 792 } 793 // boolean setting = ((Boolean)event.getNewValue()).booleanValue(); 794 // System.out.println("The Property we are setting is: " + prop + " [" + setting + "]"); 779 795 780 796 if(prop.equals(EditorPreferenceConstants.P_INSIGHT_DELAY)) { -
org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/preferences/CFMLColorsPreferenceConstants.java
r2 r671 40 40 public static final String P_COLOR_CFCOMMENT = "cfcommentColor"; 41 41 42 /** Preference key identifier for cfml comment */ 43 public static final String P_COLOR_BACKGROUND_CFCOMMENT = "cfcommentBackgroundColor"; 44 42 45 /** Preference key identifier for cfscript text color*/ 43 46 public static final String P_COLOR_CFSCRIPT_TEXT = "cfscriptTextColor"; … … 78 81 * <li>P_COLOR_CFNUMBER - "255,10,10"</li> 79 82 * <li>P_COLOR_CFCOMMENT - "128,128,128"</li> 83 * <li>P_COLOR_BACKGROUND_CFCOMMENT - "16,74,10"</li> 80 84 * <li>P_COLOR_CFSCRIPT_TEXT - "0,0,0"</li> 81 85 * <li>P_COLOR_CFSCRIPT_KEYWORD - "0,0,255"</li> … … 97 101 store.setDefault(P_COLOR_CFNUMBER,"255,10,10"); 98 102 store.setDefault(P_COLOR_CFCOMMENT,"128,128,128"); 103 store.setDefault(P_COLOR_BACKGROUND_CFCOMMENT,"16,74,10"); 99 104 store.setDefault(P_COLOR_CFSCRIPT_TEXT,"0,0,0"); 100 105 store.setDefault(P_COLOR_CFSCRIPT_KEYWORD,"0,0,255"); -
org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/preferences/CFMLColorsPreferencePage.java
r2 r671 56 56 addField(new ColorFieldEditor(CFMLColorsPreferenceConstants.P_COLOR_DEFAULT_TEXT,"Default &Text:",getFieldEditorParent())); 57 57 addField(new ColorFieldEditor(CFMLColorsPreferenceConstants.P_COLOR_CFCOMMENT,"CFML &Comment:",getFieldEditorParent())); 58 addField(new ColorFieldEditor(CFMLColorsPreferenceConstants.P_COLOR_BACKGROUND_CFCOMMENT,"CFML Comment &BackGround:",getFieldEditorParent())); 58 59 addField(new ColorFieldEditor(CFMLColorsPreferenceConstants.P_COLOR_CFTAG,"CFML &Tag:",getFieldEditorParent())); 59 60 addField(new ColorFieldEditor(CFMLColorsPreferenceConstants.P_COLOR_TAGLIB_TAG,"Taglib &Tag:",getFieldEditorParent()));
