org.radrails.rails.internal.ui
Class RailsUIPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended byorg.radrails.rails.internal.ui.RailsUIPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class RailsUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin

Plugin class for the rails.ui plugin.

Author:
mkent

Field Summary
static java.lang.String RHTML_PARTITIONING
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
RailsUIPlugin()
          Default constructor.
 
Method Summary
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
          Returns an image descriptor for the image file at the given plug-in relative path.
static RailsUIPlugin getInstance()
          Returns the singleton instance of the plugin.
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, start, startup, stop
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RHTML_PARTITIONING

public static final java.lang.String RHTML_PARTITIONING
See Also:
Constant Field Values
Constructor Detail

RailsUIPlugin

public RailsUIPlugin()
Default constructor.

Method Detail

getInstance

public static RailsUIPlugin getInstance()
Returns the singleton instance of the plugin.

Returns:
- the plugin

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path.

Parameters:
path - the path
Returns:
the image descriptor