org.eclipse.emf.codegen.presentation
Class CodeGenUIPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.emf.codegen.presentation.CodeGenUIPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- public class CodeGenUIPlugin
- extends AbstractUIPlugin
This is the central singleton for the emf.codegen plugin.
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, 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 |
CodeGenUIPlugin
public CodeGenUIPlugin()
- Create the instance.
getPlugin
public static CodeGenUIPlugin getPlugin()
- Get the singleton instance.
getString
public String getString(String key)
- This fetches a resource string from the plugin.properites file.
getImage
public ImageDescriptor getImage(String key)
getString
public String getString(String key,
Object[] objects)
- This fetches a resource string from the plugin.properites file and performs message substitution.
write
public static void write(Exception exception)