Drools Workbench - Work Item Definitions Editor - Client 6.2.0.Beta2

org.drools.workbench.screens.workitems.client.editor
Class WorkItemsEditorViewImpl

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.workitems.client.editor.WorkItemsEditorViewImpl
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, WorkItemsEditorView, WorkItemDefinitionElementSelectedListener, org.kie.uberfire.client.common.HasBusyIndicator, org.kie.workbench.common.widgets.metadata.client.KieEditorView

public class WorkItemsEditorViewImpl
extends org.kie.workbench.common.widgets.metadata.client.KieEditorViewImpl
implements WorkItemsEditorView, WorkItemDefinitionElementSelectedListener


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
WorkItemsEditorViewImpl()
           
 
Method Summary
 boolean confirmClose()
           
 String getContent()
           
 void init()
           
 boolean isDirty()
           
 void onElementSelected(String title, String value)
           
 void setContent(String definition, List<String> workItemImages)
           
 void setNotDirty()
           
 void setup()
           
 
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.workitems.client.editor.WorkItemsEditorView
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

WorkItemsEditorViewImpl

public WorkItemsEditorViewImpl()
Method Detail

setup

@PostConstruct
public void setup()

init

@PostConstruct
public void init()

setContent

public void setContent(String definition,
                       List<String> workItemImages)
Specified by:
setContent in interface WorkItemsEditorView

getContent

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

isDirty

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

setNotDirty

public void setNotDirty()
Specified by:
setNotDirty in interface WorkItemsEditorView
Specified by:
setNotDirty in interface org.kie.workbench.common.widgets.metadata.client.KieEditorView

confirmClose

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

onElementSelected

public void onElementSelected(String title,
                              String value)
Specified by:
onElementSelected in interface WorkItemDefinitionElementSelectedListener

Drools Workbench - Work Item Definitions Editor - Client 6.2.0.Beta2

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