public class ExpressionEditor extends Object implements ExpressionEditorView.Presenter
Constructor and Description |
---|
ExpressionEditor(ExpressionEditorView view,
DecisionNavigatorPresenter decisionNavigator,
DMNGraphUtils dmnGraphUtils) |
Modifier and Type | Method and Description |
---|---|
void |
bind(DMNSession session) |
void |
exit() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
ExpressionEditorView |
getView() |
void |
handleCanvasElementUpdated(CanvasElementUpdatedEvent event) |
boolean |
isActive() |
void |
setExitCommand(org.uberfire.mvp.Command exitCommand) |
void |
setExpression(String nodeUUID,
HasExpression hasExpression,
Optional<HasName> hasName,
boolean isOnlyVisualChangeAllowed) |
void |
setToolbarStateHandler(ToolbarStateHandler toolbarStateHandler) |
public ExpressionEditor(ExpressionEditorView view, DecisionNavigatorPresenter decisionNavigator, DMNGraphUtils dmnGraphUtils)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
public void bind(DMNSession session)
bind
in interface CanvasControl.SessionAware<DMNSession>
public ExpressionEditorView getView()
getView
in interface ExpressionEditorView.Presenter
public void setToolbarStateHandler(ToolbarStateHandler toolbarStateHandler)
setToolbarStateHandler
in interface ExpressionEditorView.Presenter
public void setExpression(String nodeUUID, HasExpression hasExpression, Optional<HasName> hasName, boolean isOnlyVisualChangeAllowed)
setExpression
in interface ExpressionEditorView.Presenter
public void setExitCommand(org.uberfire.mvp.Command exitCommand)
setExitCommand
in interface ExpressionEditorView.Presenter
public void exit()
exit
in interface ExpressionEditorView.Presenter
public void handleCanvasElementUpdated(CanvasElementUpdatedEvent event)
handleCanvasElementUpdated
in interface ExpressionEditorView.Presenter
public boolean isActive()
isActive
in interface ExpressionEditorView.Presenter
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.