|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUIPlugin
net.sourceforge.eclipsetrader.news.NewsPlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
FEED_RUNNING
|
static java.lang.String |
PLUGIN_ID
|
static java.lang.String |
PREFS_FOLLOW_QUOTE_FEED
|
static java.lang.String |
PREFS_UPDATE_INTERVAL
|
static java.lang.String |
PREFS_UPDATE_ON_STARTUP
|
static java.lang.String |
PROVIDER_EXTENSION_POINT
|
Constructor Summary | |
---|---|
NewsPlugin()
The constructor. |
Method Summary | |
---|---|
static NewsPlugin |
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. |
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
startFeed()
|
void |
startFeedSnapshot()
|
void |
startFeedSnapshot(Security security)
|
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
void |
stopFeed()
|
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 PROVIDER_EXTENSION_POINT
public static final java.lang.String PREFS_UPDATE_ON_STARTUP
public static final java.lang.String PREFS_FOLLOW_QUOTE_FEED
public static final java.lang.String PREFS_UPDATE_INTERVAL
public static final java.lang.String FEED_RUNNING
Constructor Detail |
public NewsPlugin()
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 NewsPlugin getDefault()
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the path
public void startFeed()
public void startFeedSnapshot()
public void startFeedSnapshot(Security security)
public void stopFeed()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |