|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.drools.guvnor.client.common.DirtyableComposite
org.drools.guvnor.client.ruleeditor.GuvnorEditor
org.drools.guvnor.client.ruleeditor.RuleViewer
public class RuleViewer
The main layout parent/controller the rule viewer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary | |
|---|---|
protected RuleAsset |
asset
|
| Fields inherited from class org.drools.guvnor.client.common.DirtyableComposite |
|---|
dirtyflag |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
RuleViewer(RuleAsset asset,
ClientFactory clientFactory)
|
|
RuleViewer(RuleAsset asset,
ClientFactory clientFactory,
boolean historicalReadOnly)
|
|
RuleViewer(RuleAsset asset,
ClientFactory clientFactory,
boolean historicalReadOnly,
ActionToolbarButtonsConfigurationProvider actionToolbarButtonsConfigurationProvider,
RuleViewerSettings ruleViewerSettings)
|
|
| Method Summary | |
|---|---|
void |
doCheckin(String comment,
boolean closeAfter)
|
protected void |
doCheckinConfirm(boolean closeAfter)
Called when user wants to checkin. set closeAfter to true if it should close this whole thing after saving it. |
protected void |
doCloseUnsavedWarning()
Called when user wants to close, but there is "dirtyness". |
void |
flushSuggestionCompletionCache()
In some cases we will want to flush the package dependency stuff for suggestion completions. |
ActionToolbar |
getActionToolbar()
|
protected boolean |
hasDirty()
|
boolean |
isDirty()
|
void |
showInfoMessage(String message)
|
protected void |
showWorkingSetsSelection(RuleModeller modeller)
|
protected void |
verifyAndDoCheckinConfirm(boolean closeAfter)
|
| Methods inherited from class org.drools.guvnor.client.common.DirtyableComposite |
|---|
getHeight, getWidth, makeDirty, onBrowserEvent, resetDirty |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected RuleAsset asset
| Constructor Detail |
|---|
public RuleViewer(RuleAsset asset,
ClientFactory clientFactory)
public RuleViewer(RuleAsset asset,
ClientFactory clientFactory,
boolean historicalReadOnly)
historicalReadOnly - true if this is a read only view for historical purposes.
public RuleViewer(RuleAsset asset,
ClientFactory clientFactory,
boolean historicalReadOnly,
ActionToolbarButtonsConfigurationProvider actionToolbarButtonsConfigurationProvider,
RuleViewerSettings ruleViewerSettings)
historicalReadOnly - true if this is a read only view for historical purposes.actionToolbarButtonsConfigurationProvider - used to change the default button configuration provider.| Method Detail |
|---|
public ActionToolbar getActionToolbar()
public boolean isDirty()
isDirty in interface DirtyableWidgetisDirty in class DirtyableCompositeprotected void verifyAndDoCheckinConfirm(boolean closeAfter)
protected void doCheckinConfirm(boolean closeAfter)
public void doCheckin(String comment,
boolean closeAfter)
protected void showWorkingSetsSelection(RuleModeller modeller)
protected boolean hasDirty()
public void showInfoMessage(String message)
public void flushSuggestionCompletionCache()
protected void doCloseUnsavedWarning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||