|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractUIPlugin
ch.sahits.codegen.ui.CodegenUIPlugin
public class CodegenUIPlugin
This class provides the UI components of the CodegenPlugin
| Field Summary | |
|---|---|
static java.lang.String |
PLUGIN_ID_CODEGEN
Plug-in id for codegen plug-in |
static java.lang.String |
PLUGIN_ID_JAVA
ID of this plugin for the java plugin |
| Constructor Summary | |
|---|---|
CodegenUIPlugin()
|
|
| Method Summary | |
|---|---|
static IWorkbenchPage |
getActivePage()
Retrieve the active workbench page |
static IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the active workbench window |
static CodegenUIPlugin |
getDefault()
Returns the shared instance |
static java.lang.String |
getGeneralCodegenHeaderImageURL()
Retrieve the header image for the General codegen Wizards |
static ImageDescriptor |
getImageDescriptorCodegen(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path |
static ImageDescriptor |
getImageDescriptorJava(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path |
static java.lang.String |
getJavaHeaderImageURL()
Retrieve the header image for the Java related Wizards |
static java.lang.String |
getMultipleCodeHeaderImageURL()
Retrieve the header image for the multiple file creation wizard |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PLUGIN_ID_CODEGEN
public static final java.lang.String PLUGIN_ID_JAVA
| Constructor Detail |
|---|
public CodegenUIPlugin()
| Method Detail |
|---|
public static java.lang.String getJavaHeaderImageURL()
public static java.lang.String getGeneralCodegenHeaderImageURL()
public static ImageDescriptor getImageDescriptorCodegen(java.lang.String path)
path - the path
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionorg.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
public void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionorg.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)public static java.lang.String getMultipleCodeHeaderImageURL()
public static IWorkbenchPage getActivePage()
IWorkbenchPagepublic static IWorkbenchWindow getActiveWorkbenchWindow()
public static ImageDescriptor getImageDescriptorJava(java.lang.String path)
path - the path
public static CodegenUIPlugin getDefault()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||