|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.cmpware.ide.CmpwarePlugin
public class CmpwarePlugin
This class implements the Eclipse IDE plugin.
Copyright (c) 2004, 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
static java.lang.String |
e1
The E1 message |
static java.lang.String |
e2
The E2 message |
static boolean |
flag
A general purpose boolean flag |
static java.lang.String |
Greeting
The greeting string |
static java.lang.String |
hostName
The host name |
static java.lang.String |
ID_ARRAY_VIEW
The Array view |
static java.lang.String |
ID_DASM_VIEW
The Disassembly view (deprecated) |
static java.lang.String |
ID_DISASSEMBLE_VIEW
The Disassemble view |
static java.lang.String |
ID_HEX_DUMP_VIEW
The Memory (hex dump) view (depreated) |
static java.lang.String |
ID_IMAGE_VIEW
The image view |
static java.lang.String |
ID_IMIX_VIEW
The Instruction Mix View |
static java.lang.String |
ID_LINK_VIEW
The Link View |
static java.lang.String |
ID_MEMORY_VIEW
The Memory view |
static java.lang.String |
ID_MP_MON_VIEW
The MpMon code view |
static java.lang.String |
ID_POWER_METER_VIEW
The source code view |
static java.lang.String |
ID_PROFILE_VIEW
The Profile View |
static java.lang.String |
ID_REGISTER_VIEW
The Register View |
static java.lang.String |
ID_SOURCE_CODE_VIEW
The source code view |
static java.lang.String |
ID_SPECIAL_REGISTER_VIEW
The Special Register View |
static java.lang.String |
ID_STATUS_VIEW
The Status window view |
static java.lang.String |
ID_VARIABLE_VIEW
The Variable View |
static java.lang.String |
P_GDB_SERVER
The GDB SErverPath |
static java.lang.String |
P_IMAGE_BASE_ADDRESS
The image default base address |
static java.lang.String |
P_IMAGE_BITS
The image default bits |
static java.lang.String |
P_IMAGE_HEIGHT
The image default height |
static java.lang.String |
P_IMAGE_WIDTH
The image default width |
static java.lang.String |
P_LICENSE
The License code |
static java.lang.String |
P_LINK
The Link preference |
static java.lang.String |
P_MODEL_PATH
The Model Path |
static java.lang.String |
P_NETWORK
The Network preference |
static java.lang.String |
P_PROCESSOR
The Processor preference |
static java.lang.String |
P_STEP_SIZE
The step size for a step command |
static java.lang.String |
P_SYSTEM_MEMORY
The System Memory preference |
static java.lang.String |
PERSPECTIVE_ID
Perspective id |
static java.lang.String |
PLUGIN_ID
Plugin id |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
CmpwarePlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static CmpwarePlugin |
getDefault()
Returns the shared instance. |
static MpModel |
getMpModel()
This method returns the plugin's multiprocessor model. |
java.util.ResourceBundle |
getResourceBundle()
This method 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 boolean |
getStatus()
This method returns the status of the IDE. |
protected void |
initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
|
static void |
printStatus(java.lang.String s)
This method prints a string to the status window. |
static void |
setStatusView(StatusView sv)
This method sets the plugin's Status View window. |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation |
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static final java.lang.String PLUGIN_ID
public static final java.lang.String PERSPECTIVE_ID
public static java.lang.String ID_VARIABLE_VIEW
public static java.lang.String ID_PROFILE_VIEW
public static java.lang.String ID_IMIX_VIEW
public static java.lang.String ID_REGISTER_VIEW
public static java.lang.String ID_SPECIAL_REGISTER_VIEW
public static java.lang.String ID_LINK_VIEW
public static java.lang.String ID_ARRAY_VIEW
public static java.lang.String ID_STATUS_VIEW
public static java.lang.String ID_HEX_DUMP_VIEW
public static java.lang.String ID_MEMORY_VIEW
public static java.lang.String ID_DASM_VIEW
public static java.lang.String ID_DISASSEMBLE_VIEW
public static java.lang.String ID_SOURCE_CODE_VIEW
public static java.lang.String ID_IMAGE_VIEW
public static java.lang.String ID_POWER_METER_VIEW
public static java.lang.String ID_MP_MON_VIEW
public static final java.lang.String P_PROCESSOR
public static final java.lang.String P_NETWORK
public static final java.lang.String P_LINK
public static final java.lang.String P_SYSTEM_MEMORY
public static final java.lang.String P_STEP_SIZE
public static final java.lang.String P_LICENSE
public static final java.lang.String P_MODEL_PATH
public static final java.lang.String P_GDB_SERVER
public static final java.lang.String P_IMAGE_BASE_ADDRESS
public static final java.lang.String P_IMAGE_WIDTH
public static final java.lang.String P_IMAGE_HEIGHT
public static final java.lang.String P_IMAGE_BITS
public static java.lang.String hostName
public static java.lang.String e1
public static java.lang.String e2
public static java.lang.String Greeting
public static boolean flag
| Constructor Detail |
|---|
public CmpwarePlugin()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionpublic static CmpwarePlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static MpModel getMpModel()
public static void printStatus(java.lang.String s)
s - The string to be printed to the status
window.public static void setStatusView(StatusView sv)
public static boolean getStatus()
protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
initializeDefaultPreferences in class org.eclipse.ui.plugin.AbstractUIPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||