org.eclipse.net4j.buddies.spi.common
Class Facility
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.buddies.spi.common.Facility
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, IFacility, INotifier, INotifier.Introspection, ILifecycle, ILifecycle.Introspection
public abstract class Facility
- extends Lifecycle
- implements IFacility
Constructor Summary |
Facility(java.lang.String type)
|
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, deferredDeactivate, doActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, isDeferredDeactivation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Facility
public Facility(java.lang.String type)
getType
public java.lang.String getType()
- Specified by:
getType
in interface IFacility
getCollaboration
public org.eclipse.net4j.buddies.internal.common.Collaboration getCollaboration()
- Specified by:
getCollaboration
in interface IFacility
setCollaboration
public void setCollaboration(ICollaboration collaboration)
- Specified by:
setCollaboration
in interface IFacility
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
- See Also:
PlatformObject.getAdapter(Class)
sendMessage
public void sendMessage(IMessage message)
- Specified by:
sendMessage
in interface IFacility
handleMessage
public abstract void handleMessage(IMessage message)