|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tm.plugin.AutoUpdate
Class provides background update of a IUpdatable
object. The
update thread is running every seconds and checks if a new update must be
fired. The thread is running as a UI Thread to enable display updates.
The updater is listening to changes of the following preference values:
If a change occurs the timer is reseted.
Constructor Summary | |
AutoUpdate(IPreferenceStore newStore)
Constructor |
Method Summary | |
void |
start(IUpdatable updatable,
Display display)
Starts a new update timer. |
void |
stop()
Stops the current timer by calling the stop method of the runner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AutoUpdate(IPreferenceStore newStore)
newStore
- The plugins preference storeMethod Detail |
public void start(IUpdatable updatable, Display display)
updatable
- The object which must be updateddisplay
- The display object for thread creationpublic void stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |