站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

EditorLauncher (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.ruleeditor
Class EditorLauncher

java.lang.Object
  extended by org.drools.brms.client.ruleeditor.EditorLauncher

public class EditorLauncher
extends Object

This launches the appropriate editor for the asset type. This uses the format attribute to determine the appropriate editor, and ALSO to unpackage the content payload from the generic asset RPC object. NOTE: when adding new editors for asset types, this will also need to be enhanced to load it up/unpackage it correctly for the editor. The editors will make changes to the rpc objects in place, and when checking in the whole RPC objects will be sent back to the server.

Author:
Michael Neale

Constructor Summary
EditorLauncher()
           
 
Method Summary
static com.google.gwt.user.client.ui.Widget getEditorViewer(RuleAsset asset, RuleViewer viewer)
          This will return the appropriate viewer for the asset.
static void showLoadEditor(Map openedViewers, com.google.gwt.user.client.ui.TabPanel tab, String uuid, boolean readonly)
          This will show the rule viewer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorLauncher

public EditorLauncher()
Method Detail

getEditorViewer

public static com.google.gwt.user.client.ui.Widget getEditorViewer(RuleAsset asset,
                                                                   RuleViewer viewer)
This will return the appropriate viewer for the asset.


showLoadEditor

public static void showLoadEditor(Map openedViewers,
                                  com.google.gwt.user.client.ui.TabPanel tab,
                                  String uuid,
                                  boolean readonly)
This will show the rule viewer. If it was previously opened, it will show that dialog instead of opening it again.



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.