Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.ui.actions.SkypeAction Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.ui.actions.SkypeAction:
de.fu_berlin.inf.dpp.ui.actions.Disposable

List of all members.

Public Member Functions

 SkypeAction ()
void updateEnablement ()
void run ()
void dispose ()

Static Public Attributes

static final String ACTION_ID = SkypeAction.class.getName()

Protected Attributes

IPropertyChangeListener propertyChangeListener
ISelectionListener selectionListener
SkypeManager skypeManager

Detailed Description

A action for skyping other JIDs.

Author:
rdjemili

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.ui.actions.SkypeAction.SkypeAction ( )

Member Function Documentation

void de.fu_berlin.inf.dpp.ui.actions.SkypeAction.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.SkypeAction.run ( )
void de.fu_berlin.inf.dpp.ui.actions.SkypeAction.updateEnablement ( )

Member Data Documentation

final String de.fu_berlin.inf.dpp.ui.actions.SkypeAction.ACTION_ID = SkypeAction.class.getName() [static]
Initial value:
 new IPropertyChangeListener() {
        @Override
        public void propertyChange(PropertyChangeEvent event) {
            if (event.getProperty().equals(PreferenceConstants.SKYPE_USERNAME)) {
                updateEnablement();
            }
        }
    }
Initial value:
 new ISelectionListener() {
        @Override
        public void selectionChanged(IWorkbenchPart part, ISelection selection) {
            updateEnablement();
        }
    }
 All Classes Namespaces Files Functions Variables Enumerations