org.eclipse.net4j.buddies.spi.common
Class Facility

java.lang.Object
  extended by org.eclipse.net4j.util.event.Notifier
      extended by org.eclipse.net4j.util.lifecycle.Lifecycle
          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.Introspection
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.Introspection
 
Field Summary
 
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
 
Constructor Summary
Facility(java.lang.String type)
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 org.eclipse.net4j.buddies.internal.common.Collaboration getCollaboration()
           
 java.lang.String getType()
           
abstract  void handleMessage(IMessage message)
           
 void sendMessage(IMessage message)
           
 void setCollaboration(ICollaboration collaboration)
           
 
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 org.eclipse.net4j.util.event.Notifier
addListener, fireEvent, getListeners, hasListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, removeListener
 

Constructor Detail

Facility

public Facility(java.lang.String type)
Method Detail

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)

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.