org.openbp.cockpit.plugins.miniview
Class MiniViewEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openbp.jaspira.event.JaspiraEvent
          extended by org.openbp.cockpit.plugins.miniview.MiniViewEvent
All Implemented Interfaces:
java.io.Serializable

public class MiniViewEvent
extends JaspiraEvent

This Event is sent by the MiniView Plugin to query all active editors that would like to be displayed in the mini view.

Author:
Jens Ferchland
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openbp.jaspira.event.JaspiraEvent
CONSUMED, HANDELED, STACKABLE, TYPE_BOTTOM_UP, TYPE_DIRECT, TYPE_FLOOD, TYPE_GLOBAL, UNCONSUMABLE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MiniViewEvent(Plugin source, java.lang.String eventName)
          Constructor.
 
Method Summary
 void addEditor(CH.ifa.draw.framework.DrawingEditor editor)
          Adds an editor to the editor list.
 java.util.List getEditors()
          Returns all collected editors.
 
Methods inherited from class org.openbp.jaspira.event.JaspiraEvent
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MiniViewEvent

public MiniViewEvent(Plugin source,
                     java.lang.String eventName)
Constructor.

Parameters:
source - Source plugin
eventName - Event name
Method Detail

addEditor

public void addEditor(CH.ifa.draw.framework.DrawingEditor editor)
Adds an editor to the editor list.

Parameters:
editor - Editor to add

getEditors

public java.util.List getEditors()
Returns all collected editors.

Returns:
A list of editors containing DrawingEditor objects


Copyright © 2011. All Rights Reserved.