Drools Workbench - Technical Rule Editor - Client 6.1.0.CR2

org.drools.workbench.screens.drltext.client.editor
Class DRLEditorViewImpl

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by 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, DRLEditorView, org.kie.workbench.common.widgets.client.widget.HasBusyIndicator, org.uberfire.client.mvp.UberView<DRLEditorPresenter>

public class DRLEditorViewImpl
extends com.google.gwt.user.client.ui.Composite
implements DRLEditorView


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
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DRLEditorViewImpl()
           
 
Method Summary
 void alertReadOnly()
           
 boolean confirmClose()
           
 String getContent()
           
 void hideBusyIndicator()
           
 void init()
           
 void init(DRLEditorPresenter presenter)
           
 boolean isDirty()
           
 void setContent(String drl, List<String> fullyQualifiedClassNames)
           
 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)
           
 void setNotDirty()
           
 void showBusyIndicator(String message)
           
 
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, 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
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Constructor Detail

DRLEditorViewImpl

public DRLEditorViewImpl()
Method Detail

init

public void init(DRLEditorPresenter presenter)
Specified by:
init in interface org.uberfire.client.mvp.UberView<DRLEditorPresenter>

init

@PostConstruct
public void init()

setContent

public void setContent(String drl,
                       List<String> fullyQualifiedClassNames)
Specified by:
setContent in interface DRLEditorView

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:
setContent in interface DRLEditorView

getContent

public String getContent()
Specified by:
getContent in interface DRLEditorView

isDirty

public boolean isDirty()
Specified by:
isDirty in interface DRLEditorView

setNotDirty

public void setNotDirty()
Specified by:
setNotDirty in interface DRLEditorView

confirmClose

public boolean confirmClose()
Specified by:
confirmClose in interface DRLEditorView

alertReadOnly

public void alertReadOnly()
Specified by:
alertReadOnly in interface DRLEditorView

showBusyIndicator

public void showBusyIndicator(String message)
Specified by:
showBusyIndicator in interface org.kie.workbench.common.widgets.client.widget.HasBusyIndicator

hideBusyIndicator

public void hideBusyIndicator()
Specified by:
hideBusyIndicator in interface org.kie.workbench.common.widgets.client.widget.HasBusyIndicator

Drools Workbench - Technical Rule Editor - Client 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.