Package org.openbp.guiclient.model.item

Examples of org.openbp.guiclient.model.item.ItemEditorRegistry


  /**
   * Registers the default item editors.
   */
  private void registerItemEditors()
  {
    ItemEditorRegistry registry = ItemEditorRegistry.getInstance();

    StandardItemEditor standardItemEditor = new StandardItemEditor();
    NodeItemEditor nodeItemEditor = new NodeItemEditor();

    registry.registerItemEditor(ItemTypes.ACTIVITY, nodeItemEditor);
    registry.registerItemEditor(ModelObjectSymbolNames.PLACEHOLDER_NODE, nodeItemEditor);
    registry.registerItemEditor(ItemTypes.PROCESS, nodeItemEditor);
    registry.registerItemEditor(ItemTypes.TYPE, standardItemEditor);
    registry.registerItemEditor(ItemTypes.MODEL, standardItemEditor);
    registry.registerItemEditor(ItemTypes.VISUAL, nodeItemEditor);
  }
View Full Code Here

TOP

Related Classes of org.openbp.guiclient.model.item.ItemEditorRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.