classpathhelper.eclipse.jdt.listener
Class ListenerPlugin

java.lang.Object
  extended byAbstractUIPlugin
      extended byclasspathhelper.eclipse.jdt.listener.ListenerPlugin

public class ListenerPlugin
extends AbstractUIPlugin

The main plugin class to be used in the desktop.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ListenerPlugin()
          The constructor.
 
Method Summary
static ListenerPlugin getDefault()
           
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.lang.String getResourceString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
static java.lang.String getSelectedProjectPreference()
           
static boolean getUsePackageExplorerPreference()
           
protected  void initializeDefaultPluginPreferences()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerPlugin

public ListenerPlugin()
The constructor.

Since:
1.0
Method Detail

getDefault

public static ListenerPlugin getDefault()
Returns:
the shared instance.
Since:
1.0

getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.

Since:
1.0

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,

Since:
1.0

getSelectedProjectPreference

public static java.lang.String getSelectedProjectPreference()
Returns:
The select project to be used as the source for the classpath (if getUsePackageExplorerPreference() returns false
Since:
1.1
See Also:
PreferencesConstants.SELECTED_PROJECT_PREF

getUsePackageExplorerPreference

public static boolean getUsePackageExplorerPreference()
Returns:
The preference indicating whether or not the Java model should be selected from the package explorer selection or via a manually selected project.
Since:
1.1
See Also:
PreferencesConstants.USE_PKG_EXPLORER_PREF

initializeDefaultPluginPreferences

protected void initializeDefaultPluginPreferences()