use of org.kie.workbench.common.dmn.client.session.DMNSession in project kie-wb-common by kiegroup.
the class DMNDiagramEditor method onEditExpressionEvent.
void onEditExpressionEvent(@Observes final EditExpressionEvent event) {
searchBarComponent.disableSearch();
if (isSameSession(event.getSession())) {
final DMNSession session = (DMNSession) getStunnerEditor().getSession();
final ExpressionEditorView.Presenter expressionEditor = session.getExpressionEditor();
sessionCommandManager.execute(session.getCanvasHandler(), new NavigateToExpressionEditorCommand(expressionEditor, getStunnerEditor().getPresenter(), sessionManager, sessionCommandManager, refreshFormPropertiesEvent, event.getNodeUUID(), event.getHasExpression(), event.getHasName(), event.isOnlyVisualChangeAllowed()));
}
}
use of org.kie.workbench.common.dmn.client.session.DMNSession in project kie-wb-common by kiegroup.
the class DMNDiagramEditor method onEditExpressionEvent.
void onEditExpressionEvent(@Observes final EditExpressionEvent event) {
searchBarComponent.disableSearch();
if (isSameSession(event.getSession())) {
final DMNSession session = sessionManager.getCurrentSession();
final ExpressionEditorView.Presenter expressionEditor = session.getExpressionEditor();
sessionCommandManager.execute(session.getCanvasHandler(), new NavigateToExpressionEditorCommand(expressionEditor, presenter, sessionManager, sessionCommandManager, refreshFormPropertiesEvent, event.getNodeUUID(), event.getHasExpression(), event.getHasName(), event.isOnlyVisualChangeAllowed()));
}
}
Aggregations