org.objectweb.fractal.explorer.api
Interface FractalMenuItem

All Known Implementing Classes:
DefaultFractalMenuItem

public interface FractalMenuItem

Specialized menu item for entities having life cycle properties.

Version:
0.1
Author:
Jerome Moroy

Method Summary
 void actionStartedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemEvent)
          Called when the Fractal component is started.
 void actionStoppedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemEvent)
          Called when the Fractal component is stopped.
 int getStartedStatus(org.objectweb.util.explorer.api.TreeView treeView)
          Called when the Fractal component is started.
 int getStoppedStatus(org.objectweb.util.explorer.api.TreeView treeView)
          Called when the Fractal component is stopped.
 

Method Detail

getStartedStatus

int getStartedStatus(org.objectweb.util.explorer.api.TreeView treeView)
Called when the Fractal component is started.

Parameters:
treeView - A view on the tree.
Returns:
The status of the menu item.

getStoppedStatus

int getStoppedStatus(org.objectweb.util.explorer.api.TreeView treeView)
Called when the Fractal component is stopped.

Parameters:
treeView - A view on the tree.
Returns:
The status of the menu item.

actionStoppedPerformed

void actionStoppedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemEvent)
                            throws Exception
Called when the Fractal component is stopped.

Parameters:
menuItemEvent - The event.
Throws:
Exception

actionStartedPerformed

void actionStartedPerformed(org.objectweb.util.explorer.api.MenuItemTreeView menuItemEvent)
                            throws Exception
Called when the Fractal component is started.

Parameters:
menuItemEvent - The event.
Throws:
Exception