/** * Sets the preference key for go to next navigation enablement. * * @param isGoToNextNavigationTargetKey <code>true</code> if enabled by default * @since 3.0 */ public void setIsGoToNextNavigationTargetKey(String isGoToNextNavigationTargetKey) { setValue(IS_GO_TO_NEXT_TARGET_KEY, isGoToNextNavigationTargetKey); }
/** * Sets the default value for the visibility in the next/previous drop down toolbar action. * * @param showInNextPrevDropdownToolbarAction <code>true</code> if enabled by default * @since 3.0 */ public void setShowInNextPrevDropdownToolbarAction(boolean showInNextPrevDropdownToolbarAction) { setValue(SHOW_IN_NAVIGATION_DROPDOWN_VALUE, showInNextPrevDropdownToolbarAction); }
/** * Sets the preference key for the visibility in the overview ruler. * * @param overviewRulerKey the preference key */ public void setOverviewRulerPreferenceKey(String overviewRulerKey) { setValue(OVERVIEW_RULER_PREFERENCE_KEY, overviewRulerKey); }
/** * Sets the preference key for highlighting inside text. * * @param highlightKey the preference key * @since 3.0 */ public void setHighlightPreferenceKey(String highlightKey) { setValue(HIGHLIGHT_PREFERENCE_KEY, highlightKey); }
/** * Sets the default value for go to next navigation enablement. * * @param isGoToNextNavigationTarget <code>true</code> if enabled by default * @since 3.0 */ public void setIsGoToNextNavigationTarget(boolean isGoToNextNavigationTarget) { setValue(IS_GO_TO_NEXT_TARGET_VALUE, isGoToNextNavigationTarget); }
/** * Sets the image descriptor for the image to be drawn in the vertical ruler. * * @param descriptor the image descriptor * @since 3.0 */ public void setImageDescriptor(ImageDescriptor descriptor) { setValue(IMAGE_DESCRIPTOR, descriptor); }
/** * Sets the preference key for the presentation color. * * @param colorKey the preference key */ public void setColorPreferenceKey(String colorKey) { setValue(COLOR_PREFERENCE_KEY, colorKey); }
/** * Sets the preference key for the visibility of squiggles inside text. * * @param textKey the preference key */ public void setTextPreferenceKey(String textKey) { setValue(TEXT_PREFERENCE_KEY, textKey); }
/** * Sets the default value for highlighting inside text. * * @param highlightValue <code>true</code> if highlighted in text by default, <code>false</code> otherwise * @since 3.0 */ public void setHighlightPreferenceValue(boolean highlightValue) { setValue(HIGHLIGHT_PREFERENCE_VALUE, highlightValue); }
/** * Sets the preference key for go to next navigation enablement. * * @param isGoToNextNavigationTargetKey <code>true</code> if enabled by default * @since 3.0 */ public void setIsGoToNextNavigationTargetKey(String isGoToNextNavigationTargetKey) { setValue(IS_GO_TO_NEXT_TARGET_KEY, isGoToNextNavigationTargetKey); }
/** * Sets the default presentation color. * * @param colorValue the default color */ public void setColorPreferenceValue(RGB colorValue) { setValue(COLOR_PREFERENCE_VALUE, colorValue); }
/** * Sets the preference key for the visibility in the vertical ruler. * * @param verticalRulerKey the preference key * @since 3.0 */ public void setVerticalRulerPreferenceKey(String verticalRulerKey) { setValue(VERTICAL_RULER_PREFERENCE_KEY, verticalRulerKey); }
/** * Sets the default visibility in the overview ruler. * * @param overviewRulerValue <code>true</code> if visible by default, <code>false</code> otherwise */ public void setOverviewRulerPreferenceValue(boolean overviewRulerValue) { setValue(OVERVIEW_RULER_PREFERENCE_VALUE, overviewRulerValue); }
/** * Sets the presentation layer. * * @param presentationLayer the presentation layer */ public void setPresentationLayer(int presentationLayer) { setValue(PRESENTATION_LAYER, presentationLayer); }
/** * Sets whether the annotation type contributes to the overview ruler's header. * * @param contributesToHeader <code>true</code> if in header, <code>false</code> otherwise */ public void setContributesToHeader(boolean contributesToHeader) { setValue(HEADER_VALUE, contributesToHeader); }
/** * Sets the preference key for the visibility in the next/previous drop down toolbar action. * * @param showInNextPrevDropdownToolbarActionKey the preference key * @since 3.0 */ public void setShowInNextPrevDropdownToolbarActionKey(String showInNextPrevDropdownToolbarActionKey) { setValue(SHOW_IN_NAVIGATION_DROPDOWN_KEY, showInNextPrevDropdownToolbarActionKey); }
/** * Sets the symbolic name of the image to be drawn in the vertical ruler. * * @param symbolicImageName the symbolic image name * @since 3.0 */ public void setSymbolicImageName(String symbolicImageName) { setValue(SYMBOLIC_IMAGE_NAME, symbolicImageName); }
/** * Sets the property of this annotation preference whether it should be included * on the default annotation preference page. * * @param includeOnPreferencePage the new value * @since 3.0 */ public void setIncludeOnPreferencePage(boolean includeOnPreferencePage) { setValue(INCLUDE_ON_PREFERENCE_PAGE, includeOnPreferencePage); }
protected void setValue(Object attribute, int value) { if (fIsReadOnly) throw new UnsupportedOperationException(); super.setValue(attribute, value); }
protected void setValue(Object attribute, boolean value) { if (fIsReadOnly) throw new UnsupportedOperationException(); super.setValue(attribute, value); }