|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBasePlugin com.ibm.etools.systems.application.visual.editor.AppDiagramActivator
public class AppDiagramActivator
The main plugin of Application diagram editor.
Field Summary | |
---|---|
static String |
copyright
|
static PreferencesHint |
DIAGRAM_PREFERENCES_HINT
|
static String |
PLUGIN_ID
|
Constructor Summary | |
---|---|
AppDiagramActivator()
The constructor. |
Method Summary | |
---|---|
protected ColorRegistry |
createColorRegistry()
|
ColorRegistry |
getColorRegistry()
|
static AppDiagramActivator |
getDefault()
Returns the shared instance. |
static Shell |
getDefaultShell()
Return default shell. |
static RGB |
getInverseRGB(RGB rgb)
|
static RGB |
getRBG(int symbol,
float percentage)
|
static RGB |
getRBG(RGB rgb,
float percentage)
|
protected void |
initializeColorRegistry(ColorRegistry reg)
|
protected void |
initializeImageRegistry()
Initialize the image registry by declaring all of the required graphics. |
protected void |
initializeImageRegistry(ImageRegistry reg)
|
protected void |
initializePreferenceStore()
Initialize the preference store. |
static boolean |
isErrorLoggingON()
Return true is error logging turned on, false otherwise. |
static boolean |
isTracingON()
Return true is tracing turned on, false otherwise. |
static void |
log(IStatus status)
|
static void |
logErrorMessage(String message)
|
static void |
logErrorStatus(String message,
IStatus status)
|
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final String PLUGIN_ID
public static final PreferencesHint DIAGRAM_PREFERENCES_HINT
Constructor Detail |
---|
public AppDiagramActivator()
Method Detail |
---|
public void start(BundleContext context) throws Exception
Exception
public void stop(BundleContext context) throws Exception
Exception
public static AppDiagramActivator getDefault()
public ColorRegistry getColorRegistry()
protected ColorRegistry createColorRegistry()
protected void initializeColorRegistry(ColorRegistry reg)
protected void initializeImageRegistry(ImageRegistry reg)
public static RGB getRBG(RGB rgb, float percentage)
public static RGB getRBG(int symbol, float percentage)
public static RGB getInverseRGB(RGB rgb)
public static void log(IStatus status)
public static void logErrorMessage(String message)
public static void logErrorStatus(String message, IStatus status)
public static Shell getDefaultShell()
protected void initializePreferenceStore()
protected void initializeImageRegistry()
public static boolean isErrorLoggingON()
public static boolean isTracingON()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |