Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
FollowThisPersonAction () | |
void | run () |
void | dispose () |
Static Public Attributes | |
static final String | ACTION_ID |
Protected Member Functions | |
void | updateActionEnablement () |
void | updateEnablement () |
boolean | canBeExecuted (List< User > users) |
Protected Attributes | |
ISarosSessionListener | sessionListener |
ISharedEditorListener | editorListener |
ISelectionListener | selectionListener |
ISarosSessionManager | sessionManager |
EditorManager | editorManager |
This follow mode action is used to select the person to follow.
de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.FollowThisPersonAction | ( | ) |
boolean de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.canBeExecuted | ( | List< User > | users | ) | [protected] |
void de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.dispose | ( | ) |
Gets called when the SarosView is about to being disposed. Actions implementing this interface should release all resources and remove all installed listeners that were allocated and installed during the lifetime of the action.
Implements de.fu_berlin.inf.dpp.ui.actions.Disposable.
void de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.run | ( | ) |
runSafe OK
void de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.updateActionEnablement | ( | ) | [protected] |
void de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.updateEnablement | ( | ) | [protected] |
final String de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.ACTION_ID [static] |
FollowThisPersonAction.class .getName()
ISharedEditorListener de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.editorListener [protected] |
new AbstractSharedEditorListener() { @Override public void followModeChanged(User user, boolean isFollowed) { updateActionEnablement(); } }
ISelectionListener de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.selectionListener [protected] |
new ISelectionListener() { @Override public void selectionChanged(IWorkbenchPart part, ISelection selection) { updateActionEnablement(); } }
ISarosSessionListener de.fu_berlin.inf.dpp.ui.actions.FollowThisPersonAction.sessionListener [protected] |
new NullSarosSessionListener() { @Override public void sessionStarted(ISarosSession newSarosSession) { updateActionEnablement(); } @Override public void sessionEnded(ISarosSession oldSarosSession) { updateActionEnablement(); } }