org.openbp.guiclient.model.item
Interface ItemEditor

All Known Implementing Classes:
NodeItemEditor, StandardItemEditor

public interface ItemEditor

This interface defines a wizard class that can be used to specify item properties. The wizard class can be used to define new items, but may also be used to edit the properties of an existing item.
In contrast to the regular property browser, the item wizard guides the user through the process of the item definition and may show more information (e. g. the graphical representation of the item) A good example is the action wizard for action items. For each item wizard for a particular item type, only one instance exists. The item wizard should display itself as modal dialog. The item wizard is referenced by the ItemTypeDescriptor class.

Author:
Heiko Erhardt

Method Summary
 Item openItem(Item item, int editedItemStatus)
          Opens an item in the item wizard.
 

Method Detail

openItem

Item openItem(Item item,
              int editedItemStatus)
Opens an item in the item wizard. This method usually displays the wizard dialog. The item wizard displays and updates the item structure and/or advanced item properties.

Parameters:
item - item to open
editedItemStatus - Status of the item
Returns:
The edited item or null if the user cancelled the wizard


Copyright © 2011. All Rights Reserved.