private static final char[] CHARS = new char[] { '(', ')', '{', '}', '[', ']', '<', '>' };
- private static final String MATCHING_BRACKETS = "matchingBrackets";
- private static final String MATCHING_BRACKETS_COLOR = "matchingBracketsColor";
- private static final String HIGHLIGHT_BRACKET_AT_CARET_LOCATION = "highlightBracketAtCaretLocation";
- private static final String ENCLOSING_BRACKETS = "enclosingBrackets";
+ private static final String MATCHING_BRACKETS = "matchingBrackets"; //$NON-NLS-1$
+ private static final String MATCHING_BRACKETS_COLOR = "matchingBracketsColor"; //$NON-NLS-1$
+ private static final String HIGHLIGHT_BRACKET_AT_CARET_LOCATION = "highlightBracketAtCaretLocation"; //$NON-NLS-1$
+ private static final String ENCLOSING_BRACKETS = "enclosingBrackets"; //$NON-NLS-1$
private boolean disposed = false;
protected ResourceManager resourceManager;
throws PartInitException {
super.init(site, input);
getPreferenceStore().setValue(MATCHING_BRACKETS, true);
- getPreferenceStore().setValue(MATCHING_BRACKETS_COLOR, "192,192,192");
+ getPreferenceStore().setValue(MATCHING_BRACKETS_COLOR, "192,192,192"); //$NON-NLS-1$
getPreferenceStore().setValue(HIGHLIGHT_BRACKET_AT_CARET_LOCATION, true);
getPreferenceStore().setValue(ENCLOSING_BRACKETS, true);
}
@Override
public void createPartControl(Composite parent) {
super.createPartControl(parent);
- getEditorSite().getService(IContextService.class).activateContext("org.simantics.scl.ui.editor");
+ getEditorSite().getService(IContextService.class).activateContext("org.simantics.scl.ui.editor"); //$NON-NLS-1$
updatePartName();
}