|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUIPlugin
net.sourceforge.eclipsetrader.charts.ChartsPlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
INDICATORS_EXTENSION_POINT
|
static java.lang.String |
OBJECTS_EXTENSION_POINT
|
static java.lang.String |
PLUGIN_ID
|
static java.lang.String |
PREFS_EXTEND_PERIOD
|
static java.lang.String |
PREFS_EXTEND_SCALE
|
static java.lang.String |
PREFS_HIDE_TABS
|
Constructor Summary | |
---|---|
ChartsPlugin()
The constructor. |
Method Summary | |
---|---|
static Chart |
createDefaultChart()
|
static IIndicatorPlugin |
createIndicatorPlugin(java.lang.String id)
|
static ObjectPlugin |
createObjectPlugin(java.lang.String id)
|
static ChartsPlugin |
getDefault()
Returns the shared instance. |
static ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
static IConfigurationElement |
getIndicatorPlugin(java.lang.String id)
|
static java.text.NumberFormat |
getNumberFormat()
|
static IConfigurationElement |
getObjectPlugin(java.lang.String id)
|
static java.text.NumberFormat |
getPercentageFormat()
|
static java.text.NumberFormat |
getPriceFormat()
|
static void |
saveDefaultChart(Chart chart)
|
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PLUGIN_ID
public static final java.lang.String INDICATORS_EXTENSION_POINT
public static final java.lang.String OBJECTS_EXTENSION_POINT
public static final java.lang.String PREFS_HIDE_TABS
public static final java.lang.String PREFS_EXTEND_SCALE
public static final java.lang.String PREFS_EXTEND_PERIOD
Constructor Detail |
public ChartsPlugin()
Method Detail |
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static ChartsPlugin getDefault()
public static java.text.NumberFormat getNumberFormat()
public static java.text.NumberFormat getPercentageFormat()
public static java.text.NumberFormat getPriceFormat()
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the path
public static IIndicatorPlugin createIndicatorPlugin(java.lang.String id)
public static IConfigurationElement getIndicatorPlugin(java.lang.String id)
public static ObjectPlugin createObjectPlugin(java.lang.String id)
public static IConfigurationElement getObjectPlugin(java.lang.String id)
public static Chart createDefaultChart()
public static void saveDefaultChart(Chart chart)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |