Class BaseDomainEditor
- 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.kie.workbench.common.screens.datamodeller.client.widgets.common.domain.BaseDomainEditor
-
- 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,DomainEditor
- Direct Known Subclasses:
ContextAwareBaseDomainEditor,MainDomainEditor
public abstract class BaseDomainEditor extends com.google.gwt.user.client.ui.Composite implements DomainEditor
-
-
Field Summary
Fields Modifier and Type Field Description protected DataModelerContextcontextprotected com.google.gwt.user.client.ui.DeckPaneleditorsDeckprotected static intFIELD_EDITORprotected FieldEditorfieldEditorprotected DomainHandlerhandlerprotected static intINFO_EDITORprotected InfoEditorinfoEditorprotected com.google.gwt.user.client.ui.SimplePanelmainPanelprotected static intOBJECT_EDITORprotected ObjectEditorobjectEditor
-
Constructor Summary
Constructors Constructor Description BaseDomainEditor()BaseDomainEditor(ObjectEditor objectEditor, FieldEditor fieldEditor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataModelerContextgetContext()protected StringgetContextId()DomainHandlergetHandler()com.google.gwt.user.client.ui.WidgetgetWidget()protected voidonContextChange(DataModelerContext context)protected voidonDataObjectDeleted(org.kie.workbench.common.screens.datamodeller.events.DataObjectDeletedEvent event)voidsetHandler(DomainHandler handler)voidshowFieldEditor()voidshowInfoEditor()voidshowObjectEditor()-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, 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, 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
-
-
-
-
Field Detail
-
OBJECT_EDITOR
protected static int OBJECT_EDITOR
-
FIELD_EDITOR
protected static int FIELD_EDITOR
-
INFO_EDITOR
protected static int INFO_EDITOR
-
mainPanel
protected com.google.gwt.user.client.ui.SimplePanel mainPanel
-
editorsDeck
protected com.google.gwt.user.client.ui.DeckPanel editorsDeck
-
objectEditor
protected ObjectEditor objectEditor
-
fieldEditor
protected FieldEditor fieldEditor
-
infoEditor
protected InfoEditor infoEditor
-
context
protected DataModelerContext context
-
handler
protected DomainHandler handler
-
-
Constructor Detail
-
BaseDomainEditor
public BaseDomainEditor()
-
BaseDomainEditor
public BaseDomainEditor(ObjectEditor objectEditor, FieldEditor fieldEditor)
-
-
Method Detail
-
getContext
public DataModelerContext getContext()
-
getContextId
protected String getContextId()
-
showObjectEditor
public void showObjectEditor()
-
showFieldEditor
public void showFieldEditor()
-
showInfoEditor
public void showInfoEditor()
-
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()
- Specified by:
getWidgetin interfaceDomainEditor- Overrides:
getWidgetin classcom.google.gwt.user.client.ui.Composite
-
getHandler
public DomainHandler getHandler()
- Specified by:
getHandlerin interfaceDomainEditor
-
setHandler
public void setHandler(DomainHandler handler)
-
onContextChange
protected void onContextChange(DataModelerContext context)
-
onDataObjectDeleted
protected void onDataObjectDeleted(@Observes org.kie.workbench.common.screens.datamodeller.events.DataObjectDeletedEvent event)
-
-