org.openbp.cockpit.plugins.itembrowser
Class ItemBrowserModule

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.plugin.ExternalEventModule
          extended by org.openbp.cockpit.plugins.itembrowser.ItemBrowserModule
All Implemented Interfaces:
JaspiraEventListener

public class ItemBrowserModule
extends ExternalEventModule

External event module item browser.

Author:
Heiko Erhardt

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
ItemBrowserModule(Plugin itemBrowser)
          Default constructor.
 
Method Summary
 JaspiraEventHandlerCode displayobject_changed_titlemode(JaspiraEvent event)
          The titlemode option of the role manager (DisplayObjectPlugin) has been changed.
 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 open(OpenEvent openEvent)
          Event handler: Open an object.
 JaspiraEventHandlerCode plugin_association_supports(RequestEvent event)
          Event handler: Check supported mime types for the open event.
 JaspiraEventHandlerCode plugin_propertybrowser_executesave(PropertyBrowserSaveEvent oee)
          Event handler: Save an item displayed in the property browser.
 JaspiraEventHandlerCode publish(JaspiraActionEvent jae)
          Event handler: Publish a model.
 JaspiraEventHandlerCode remove(JaspiraActionEvent jae)
          Event handler: Remove an item or a model.
 JaspiraEventHandlerCode run(JaspiraActionEvent jae)
          Event handler: Run a process.
 JaspiraEventHandlerCode standard_file_new(JaspiraActionEvent jae)
          Event handler: Toggle functional group display.
 JaspiraEventHandlerCode togglefunctionalgroup(JaspiraActionEvent jae)
          Event handler: Toggle functional group display.
 
Methods inherited from class org.openbp.jaspira.plugin.ExternalEventModule
getPlugin
 
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

ItemBrowserModule

public ItemBrowserModule(Plugin itemBrowser)
Default constructor.

Parameters:
itemBrowser - Item browser
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
See Also:
EventModule.getName()

standard_file_new

public JaspiraEventHandlerCode standard_file_new(JaspiraActionEvent jae)
Event handler: Toggle functional group display. Shows or hides the functional group.

Parameters:
jae - Event
Returns:
The event status code

togglefunctionalgroup

public JaspiraEventHandlerCode togglefunctionalgroup(JaspiraActionEvent jae)
Event handler: Toggle functional group display. Shows or hides the functional group.

Parameters:
jae - Event
Returns:
The event status code

remove

public JaspiraEventHandlerCode remove(JaspiraActionEvent jae)
Event handler: Remove an item or a model. Removes an item using the model connector. The model connector will inform the item browser to refresh itself.

Parameters:
jae - Event
Returns:
The event status code

run

public JaspiraEventHandlerCode run(JaspiraActionEvent jae)
Event handler: Run a process.

Parameters:
jae - Event
Returns:
The event status code

publish

public JaspiraEventHandlerCode publish(JaspiraActionEvent jae)
Event handler: Publish a model.

Parameters:
jae - Event
Returns:
The event status code

displayobject_changed_titlemode

public JaspiraEventHandlerCode displayobject_changed_titlemode(JaspiraEvent event)
The titlemode option of the role manager (DisplayObjectPlugin) has been changed.

Parameters:
event - 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

plugin_association_supports

public JaspiraEventHandlerCode plugin_association_supports(RequestEvent event)
Event handler: Check supported mime types for the open event. Adds the event names for open events for items to the result of the poll event.

Parameters:
event - Event
Returns:
The event status code

open

public JaspiraEventHandlerCode open(OpenEvent openEvent)
Event handler: Open an object.

Parameters:
openEvent - Open event
Returns:
The event status code

plugin_propertybrowser_executesave

public JaspiraEventHandlerCode plugin_propertybrowser_executesave(PropertyBrowserSaveEvent oee)
Event handler: Save an item displayed in the property browser.

Parameters:
oee - Event
Returns:
The event status code


Copyright © 2011. All Rights Reserved.