org.eclipse.mylar.monitor
Class ActivityListener
java.lang.Object
org.eclipse.mylar.monitor.ActivityListener
- All Implemented Interfaces:
- org.eclipse.mylar.context.core.IInteractionEventListener, org.eclipse.mylar.context.core.IMylarContextListener, org.eclipse.mylar.internal.context.core.util.ITimerThreadListener
class ActivityListener
- extends java.lang.Object
- implements org.eclipse.mylar.internal.context.core.util.ITimerThreadListener, org.eclipse.mylar.context.core.IInteractionEventListener, org.eclipse.mylar.context.core.IMylarContextListener
- Author:
- Mik Kersten
Nested classes/interfaces inherited from interface org.eclipse.mylar.context.core.IMylarContextListener |
org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVITY_DELTA_DEACTIVATED
public static final java.lang.String ACTIVITY_DELTA_DEACTIVATED
- See Also:
- Constant Field Values
ACTIVITY_DELTA_ACTIVATED
public static final java.lang.String ACTIVITY_DELTA_ACTIVATED
- See Also:
- Constant Field Values
ACTIVITY_ORIGIN_ID
public static final java.lang.String ACTIVITY_ORIGIN_ID
- See Also:
- Constant Field Values
ACTIVITY_HANDLE_ATTENTION
public static final java.lang.String ACTIVITY_HANDLE_ATTENTION
- See Also:
- Constant Field Values
ACTIVITY_HANDLE_LIFECYCLE
public static final java.lang.String ACTIVITY_HANDLE_LIFECYCLE
- See Also:
- Constant Field Values
ACTIVITY_DELTA_STARTED
public static final java.lang.String ACTIVITY_DELTA_STARTED
- See Also:
- Constant Field Values
ACTIVITY_DELTA_STOPPED
public static final java.lang.String ACTIVITY_DELTA_STOPPED
- See Also:
- Constant Field Values
ACTIVITY_STRUCTURE_KIND
public static final java.lang.String ACTIVITY_STRUCTURE_KIND
- See Also:
- Constant Field Values
timer
private org.eclipse.mylar.internal.context.core.util.TimerThread timer
sleepPeriod
private int sleepPeriod
isStalled
private boolean isStalled
ActivityListener
public ActivityListener(int millis)
fireTimedOut
public void fireTimedOut()
- Specified by:
fireTimedOut
in interface org.eclipse.mylar.internal.context.core.util.ITimerThreadListener
intervalElapsed
public void intervalElapsed()
- Specified by:
intervalElapsed
in interface org.eclipse.mylar.internal.context.core.util.ITimerThreadListener
interactionObserved
public void interactionObserved(org.eclipse.mylar.context.core.InteractionEvent event)
- Specified by:
interactionObserved
in interface org.eclipse.mylar.context.core.IInteractionEventListener
startMonitoring
public void startMonitoring()
- Specified by:
startMonitoring
in interface org.eclipse.mylar.context.core.IInteractionEventListener
stopTimer
public void stopTimer()
stopMonitoring
public void stopMonitoring()
- Specified by:
stopMonitoring
in interface org.eclipse.mylar.context.core.IInteractionEventListener
setTimeout
public void setTimeout(int millis)
contextActivated
public void contextActivated(org.eclipse.mylar.context.core.IMylarContext context)
- Specified by:
contextActivated
in interface org.eclipse.mylar.context.core.IMylarContextListener
contextDeactivated
public void contextDeactivated(org.eclipse.mylar.context.core.IMylarContext context)
- Specified by:
contextDeactivated
in interface org.eclipse.mylar.context.core.IMylarContextListener
presentationSettingsChanging
public void presentationSettingsChanging(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
- Specified by:
presentationSettingsChanging
in interface org.eclipse.mylar.context.core.IMylarContextListener
presentationSettingsChanged
public void presentationSettingsChanged(org.eclipse.mylar.context.core.IMylarContextListener.UpdateKind kind)
- Specified by:
presentationSettingsChanged
in interface org.eclipse.mylar.context.core.IMylarContextListener
interestChanged
public void interestChanged(java.util.List<org.eclipse.mylar.context.core.IMylarElement> elements)
- Specified by:
interestChanged
in interface org.eclipse.mylar.context.core.IMylarContextListener
nodeDeleted
public void nodeDeleted(org.eclipse.mylar.context.core.IMylarElement element)
- Specified by:
nodeDeleted
in interface org.eclipse.mylar.context.core.IMylarContextListener
landmarkAdded
public void landmarkAdded(org.eclipse.mylar.context.core.IMylarElement element)
- Specified by:
landmarkAdded
in interface org.eclipse.mylar.context.core.IMylarContextListener
landmarkRemoved
public void landmarkRemoved(org.eclipse.mylar.context.core.IMylarElement element)
- Specified by:
landmarkRemoved
in interface org.eclipse.mylar.context.core.IMylarContextListener
edgesChanged
public void edgesChanged(org.eclipse.mylar.context.core.IMylarElement element)
- Specified by:
edgesChanged
in interface org.eclipse.mylar.context.core.IMylarContextListener