Class DRLEditorViewImpl
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.uberfire.ext.editor.commons.client.BaseEditorViewImpl
-
- org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
-
- org.drools.workbench.screens.drltext.client.editor.DRLEditorViewImpl
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget,com.google.gwt.user.client.ui.RequiresResize,DRLEditorView,org.kie.workbench.common.widgets.metadata.client.KieEditorView,org.uberfire.client.mvp.HasPresenter<DRLEditorPresenter>,org.uberfire.client.mvp.UberView<DRLEditorPresenter>,org.uberfire.ext.editor.commons.client.BaseEditorView,org.uberfire.ext.widgets.common.client.common.HasBusyIndicator
public class DRLEditorViewImpl extends org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl implements DRLEditorView
-
-
Constructor Summary
Constructors Constructor Description DRLEditorViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()voidinit()voidinit(DRLEditorPresenter presenter)protected voidonLoad()voidonResize()voidsetContent(String drl, List<String> fullyQualifiedClassNames)voidsetContent(String dslr, List<String> fullyQualifiedClassNames, List<org.drools.workbench.models.datamodel.rule.DSLSentence> dslConditions, List<org.drools.workbench.models.datamodel.rule.DSLSentence> dslActions)voidsetReadOnly(boolean readOnly)-
Methods inherited from class org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
refreshTitle
-
Methods inherited from class org.uberfire.ext.editor.commons.client.BaseEditorViewImpl
alertReadOnly, confirmClose, getTitleWidget, hideBusyIndicator, refreshTitle, showBusyIndicator, showLoading, showSaving
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, 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, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.uberfire.ext.editor.commons.client.BaseEditorView
alertReadOnly, confirmClose, getTitleWidget, refreshTitle, showLoading, showSaving
-
-
-
-
Method Detail
-
init
public void init(DRLEditorPresenter presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<DRLEditorPresenter>
-
onLoad
protected void onLoad()
- Overrides:
onLoadin classcom.google.gwt.user.client.ui.Widget
-
init
@PostConstruct public void init()
-
setContent
public void setContent(String drl, List<String> fullyQualifiedClassNames)
- Specified by:
setContentin interfaceDRLEditorView
-
setContent
public void setContent(String dslr, List<String> fullyQualifiedClassNames, List<org.drools.workbench.models.datamodel.rule.DSLSentence> dslConditions, List<org.drools.workbench.models.datamodel.rule.DSLSentence> dslActions)
- Specified by:
setContentin interfaceDRLEditorView
-
getContent
public String getContent()
- Specified by:
getContentin interfaceDRLEditorView
-
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnlyin interfaceDRLEditorView
-
onResize
public void onResize()
- Specified by:
onResizein interfacecom.google.gwt.user.client.ui.RequiresResize
-
-