org.openbp.cockpit.modeler.skins
Class SkinPlugin.SkinEvents

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.cockpit.modeler.skins.SkinPlugin.SkinEvents
All Implemented Interfaces:
JaspiraEventListener
Enclosing class:
SkinPlugin

public class SkinPlugin.SkinEvents
extends EventModule

Event module.


Field Summary
 
Fields inherited from class org.openbp.jaspira.plugin.EventModule
EVENT_CONSUMED, EVENT_HANDLED, EVENT_IGNORED, MODULE_POST_GLOBAL, MODULE_PRE_GLOBAL, MODULE_TREE
 
Constructor Summary
SkinPlugin.SkinEvents()
           
 
Method Summary
 JaspiraEventHandlerCode displayskin(JaspiraEvent je)
          Shows the display name of the given skin in the skin combo box.
 java.lang.String getName()
          The name of this module like "editor.file".
 JaspiraEventHandlerCode modeler_view_activated(JaspiraEvent je)
          Event handler: A modeler view has become active.
 JaspiraEventHandlerCode modeler_view_closed(JaspiraEvent je)
          Event handler: A modeler view has become inactive.
 JaspiraEventHandlerCode selectskin(JaspiraActionEvent jae)
          Selects the skin for the current process.
 
Methods inherited from class org.openbp.jaspira.plugin.EventModule
eventFired, getEventActionNames, getForeignEventNames, getModuleType, getPriority, handleUnaccountedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinPlugin.SkinEvents

public SkinPlugin.SkinEvents()
Method Detail

getName

public java.lang.String getName()
Description copied from class: EventModule
The name of this module like "editor.file". Decides which events will be received.

Specified by:
getName in class EventModule

selectskin

public JaspiraEventHandlerCode selectskin(JaspiraActionEvent jae)
Selects the skin for the current process. This event will be produced by the skin combo box in the main toolbar.

Parameters:
jae - Action event
Returns:
The event status code

displayskin

public JaspiraEventHandlerCode displayskin(JaspiraEvent je)
Shows the display name of the given skin in the skin combo box.

Parameters:
je - Event
Returns:
The event status code

modeler_view_activated

public JaspiraEventHandlerCode modeler_view_activated(JaspiraEvent je)
Event handler: A modeler view has become active.

Parameters:
je - Event
Returns:
The event status code

modeler_view_closed

public JaspiraEventHandlerCode modeler_view_closed(JaspiraEvent je)
Event handler: A modeler view has become inactive.

Parameters:
je - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.