org.eclipse.mylar.internal.team
Class ContextChangeSetManager
java.lang.Object
org.eclipse.mylar.internal.team.ContextChangeSetManager
- All Implemented Interfaces:
- org.eclipse.mylar.context.core.IMylarContextListener
public class ContextChangeSetManager
- extends java.lang.Object
- implements 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 |
CHANGE_SET_LISTENER
private final org.eclipse.team.internal.core.subscribers.IChangeSetChangeListener CHANGE_SET_LISTENER
collectors
private java.util.List<org.eclipse.team.internal.core.subscribers.ActiveChangeSetManager> collectors
activeChangeSets
private java.util.Map<java.lang.String,ContextChangeSet> activeChangeSets
TASK_ACTIVITY_LISTENER
private ITaskActivityListener TASK_ACTIVITY_LISTENER
TASK_CHANGE_LISTENER
private ITaskListChangeListener TASK_CHANGE_LISTENER
isEnabled
private boolean isEnabled
ContextChangeSetManager
public ContextChangeSetManager()
enable
public void enable()
disable
public void disable()
initContextChangeSets
private void initContextChangeSets()
clearActiveChangeSets
public void clearActiveChangeSets()
- For testing.
getResources
public org.eclipse.core.resources.IResource[] getResources(ITask task)
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
getActiveChangeSets
public java.util.List<ContextChangeSet> getActiveChangeSets()
getTask
private ITask getTask(org.eclipse.mylar.context.core.IMylarContext context)
shouldRemove
private boolean shouldRemove(org.eclipse.mylar.context.core.IMylarElement element)
- Ignores decay.
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 node)
- Specified by:
nodeDeleted
in interface org.eclipse.mylar.context.core.IMylarContextListener
landmarkAdded
public void landmarkAdded(org.eclipse.mylar.context.core.IMylarElement node)
- Specified by:
landmarkAdded
in interface org.eclipse.mylar.context.core.IMylarContextListener
landmarkRemoved
public void landmarkRemoved(org.eclipse.mylar.context.core.IMylarElement node)
- Specified by:
landmarkRemoved
in interface org.eclipse.mylar.context.core.IMylarContextListener
edgesChanged
public void edgesChanged(org.eclipse.mylar.context.core.IMylarElement node)
- Specified by:
edgesChanged
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