The central class for access to this plug-in.
This class cannot be instantiated; all functionality is provided by
static methods.
since: 3.0
Field Summary
final public static int
CHARSET_MAPPING_FAILED Editor UI plug-in status code indicating that an operation failed
because a character could not be mapped using the given
charset.
getHyperlinkDetectorRegistry() Returns the registry that contains the hyperlink detectors contributed
by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors
extension point.
useAnnotationsPreferencePage(IPreferenceStore store) Removes all preference which are handled by this plug-in's
general preference pages from the given store and prevents
setting the default values in the future.
public static void
useQuickDiffPreferencePage(IPreferenceStore store) Removes all preference which are handled by this plug-in's
Quick Diff preference page from the given store and prevents
setting the default values in the future.
Field Detail
CHARSET_MAPPING_FAILED
final public static int CHARSET_MAPPING_FAILED(Code)
Editor UI plug-in status code indicating that an operation failed
because a character could not be mapped using the given
charset.
Returns the annotation type lookup of this plug-in.
the annotation type lookup
getHyperlinkDetectorRegistry
public static HyperlinkDetectorRegistry getHyperlinkDetectorRegistry()(Code)
Returns the registry that contains the hyperlink detectors contributed
by the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors
extension point.
the hyperlink detector registry since: 3.3
getPluginPreferences
public static Preferences getPluginPreferences()(Code)
Returns the preferences of this plug-in.
the plug-in preferences See Also: org.eclipse.core.runtime.Plugin.getPluginPreferences
getPreferenceStore
public static IPreferenceStore getPreferenceStore()(Code)
Returns the preference store of this plug-in.
this plug-in's preference store
getSharedTextColors
public static ISharedTextColors getSharedTextColors()(Code)
Returns the shared text colors of this plug-in.
the shared text colors since: 3.3
getSpellingService
public static SpellingService getSpellingService()(Code)
Returns the spelling service.
the spelling service since: 3.1
getTooltipAffordanceString
final public static String getTooltipAffordanceString()(Code)
Returns the tool tip affordance string.
the affordance string which is empty if the preference is enabledbut the key binding not active or null if thepreference is disabled or the binding service is unavailable since: 3.3
useAnnotationsPreferencePage
public static void useAnnotationsPreferencePage(IPreferenceStore store)(Code)
Removes all preference which are handled by this plug-in's
general preference pages from the given store and prevents
setting the default values in the future.
List stores= new ArrayList(3);
stores.add(YourPlugin.getDefault().getPreferenceStore());
stores.add(EditorsUI.getPreferenceStore());
combinedStore= new ChainedPreferenceStore((IPreferenceStore[]) stores.toArray(new IPreferenceStore[stores.size()]));
Note: In order to work this method must be called before
the store's default values are set.
Parameters: store - the preference store to mark
useQuickDiffPreferencePage
public static void useQuickDiffPreferencePage(IPreferenceStore store)(Code)
Removes all preference which are handled by this plug-in's
Quick Diff preference page from the given store and prevents
setting the default values in the future.
List stores= new ArrayList(3);
stores.add(YourPlugin.getDefault().getPreferenceStore());
stores.add(EditorsUI.getPreferenceStore());
combinedStore= new ChainedPreferenceStore((IPreferenceStore[]) stores.toArray(new IPreferenceStore[stores.size()]));
Note: In order to work this method must be called before
the store's default values are set.