org.drools.guvnor.client.ruleeditor
Class EditorLauncher
java.lang.Object
org.drools.guvnor.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_IMAGES
public static final Map<String,RuleFormatImageResource> TYPE_IMAGES
hostedMode
public static Boolean hostedMode
EditorLauncher
public EditorLauncher()
getAssetFormatIcon
public static RuleFormatImageResource getAssetFormatIcon(String format)
- Get the icon name (not the path), including the extension, for the appropriate
asset format.
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.