|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractUIPlugin classpathhelper.eclipse.ui.UIPlugin
The Plugin Class for the UI portion of classpath helper.
Nested Class Summary | |
static class |
UIPlugin.SharedImages
|
Constructor Summary | |
UIPlugin()
The constructor. |
Method Summary | |
static CGClassLoaderFilter |
getCGClassLoaderFilter()
|
IClassPathModel |
getClassPathModel()
Gets the class path model that views should register themselves with. |
static java.lang.String |
getCurrentModelPreference()
|
static UIPlugin |
getDefault()
|
static Image |
getIcon(ContentDetail theDetail)
Helper method that determins the best image for a content detail object. |
static Image |
getIcon(Location location)
Helper method for loading the appropriate image for a location object. |
static ImageDescriptor |
getIconImageDescriptor(Location location)
Helper method that provides the ImageDescriptor for
the icon to associate with this tree node. |
int |
getIndexOfExtension(java.lang.String id)
Method for find the index from of the model (as ordered in the array from getModelExtensions() ). |
ClassPathModelExtension[] |
getModelExtensions()
Returns a handle to all the objects that extend the classpathmodels
extension point. |
IClassPathModel |
getNotOnClassPathModel()
Method that returns the class path model for classes not on the classpath. |
ClassPathModelExtension |
getPreferredModelExtension()
The current model that is selected given the current preference settings. |
java.util.ResourceBundle |
getResourceBundle()
|
static java.lang.String |
getResourceString(java.lang.String key)
|
static ISharedImages |
getSharedImages()
Shared images from this plugin. |
static boolean |
getShouldMonitorFilesPreference()
|
protected void |
initializeDefaultPluginPreferences()
|
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UIPlugin()
Method Detail |
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static UIPlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getCurrentModelPreference()
IClassPathModel
that
is selected as the current source.public static boolean getShouldMonitorFilesPreference()
public static CGClassLoaderFilter getCGClassLoaderFilter()
CGClassLoaderFilter.allowsHasBlocked(CGClassLoader, String)
method based on the configured patterns.public static Image getIcon(ContentDetail theDetail)
theDetail
- The detail object (or null
).
public static Image getIcon(Location location)
location
- The location.
public static ImageDescriptor getIconImageDescriptor(Location location)
ImageDescriptor
for
the icon to associate with this tree node.
location
- The location
public IClassPathModel getClassPathModel()
public ClassPathModelExtension getPreferredModelExtension()
public int getIndexOfExtension(java.lang.String id)
getModelExtensions()
).
id
- The id of the model to find the extension for.
public ClassPathModelExtension[] getModelExtensions()
classpathmodels
extension point. Actual extensions are loaded on demand.
public IClassPathModel getNotOnClassPathModel() throws CoreException
CoreException
- if there's a problem creating the model.protected void initializeDefaultPluginPreferences()
public static ISharedImages getSharedImages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |