Drools Workbench - Technical Rule Editor - Client 6.2.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.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
                  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.uberfire.client.common.HasBusyIndicator, org.kie.workbench.common.widgets.metadata.client.KieEditorView, org.uberfire.client.mvp.UberView<DRLEditorPresenter>

public class DRLEditorViewImpl
extends org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
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 org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
title
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DRLEditorViewImpl()
           
 
Method Summary
 boolean confirmClose()
           
 String getContent()
           
 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()
           
 
Methods inherited from class org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
alertReadOnly, 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, 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 org.drools.workbench.screens.drltext.client.editor.DRLEditorView
alertReadOnly
 
Methods inherited from interface org.kie.workbench.common.widgets.metadata.client.KieEditorView
getTitleWidget, refreshTitle, showLoading, showSaving
 
Methods inherited from interface org.kie.uberfire.client.common.HasBusyIndicator
hideBusyIndicator, showBusyIndicator
 
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
Specified by:
setNotDirty in interface org.kie.workbench.common.widgets.metadata.client.KieEditorView

confirmClose

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

Drools Workbench - Technical Rule Editor - Client 6.2.0.CR2

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