| org.drools.brms.client.ruleeditor.RuleViewer
RuleViewer | public class RuleViewer extends Composite (Code) | | The main layout parent/controller the rule viewer.
author: Michael Neale |
Method Summary | |
void | doArchive() This responds to the checkin command. | void | doCheckin() | protected void | doCloseUnsavedWarning() Called when user wants to close, but there is "dirtyness". | void | doDelete() | public void | flushSuggestionCompletionCache() In some cases we will want to flush the package dependency stuff for suggestion completions. | public void | refreshDataAndView() This will reload the contents from the database, and refresh the widgets. | public void | setCloseCommand(Command c) This needs to be called to allow the opened viewer to close itself. | public void | zoomIntoAsset() Calling this will toggle the visibility of the meta-data widget (effectively zooming
in the rule asset). |
RuleViewer | public RuleViewer(RuleAsset asset, boolean historicalReadOnly)(Code) | | Parameters: UUID - The resource to open. Parameters: format - The type of resource (may determine what editor is used). Parameters: name - The name to be displayed. Parameters: historicalReadOnly - true if this is a read only view for historical purposes. |
doArchive | void doArchive()(Code) | | This responds to the checkin command.
|
doCheckin | void doCheckin()(Code) | | |
doCloseUnsavedWarning | protected void doCloseUnsavedWarning()(Code) | | Called when user wants to close, but there is "dirtyness".
|
doDelete | void doDelete()(Code) | | |
flushSuggestionCompletionCache | public void flushSuggestionCompletionCache()(Code) | | In some cases we will want to flush the package dependency stuff for suggestion completions.
The user will still need to reload the asset editor though.
|
refreshDataAndView | public void refreshDataAndView()(Code) | | This will reload the contents from the database, and refresh the widgets.
|
setCloseCommand | public void setCloseCommand(Command c)(Code) | | This needs to be called to allow the opened viewer to close itself.
Parameters: c - |
zoomIntoAsset | public void zoomIntoAsset()(Code) | | Calling this will toggle the visibility of the meta-data widget (effectively zooming
in the rule asset).
|
|
|