@Test public void testModelDefinition() { final Optional<LiteralExpression> oModel = definition.getModelClass(); assertThat(oModel).isPresent(); }
@Override public Optional<LiteralExpression> getModelClass() { return Optional.of(new LiteralExpression()); }
LiteralExpressionEditorDefinition extends BaseEditorDefinition<LiteralExpression, DMNGridData> { @Override public Optional<LiteralExpression> getModelClass() { return Optional.of(new LiteralExpression()); } }
LiteralExpressionEditorDefinition extends BaseEditorDefinition<LiteralExpression, DMNGridData> { @Override public Optional<LiteralExpression> getModelClass() { return Optional.of(new LiteralExpression()); } LiteralExpressionEditorDefinition(); @Inject  LiteralExpressionEditorDefinition(final DefinitionUtils definitionUtils,
                                             final SessionManager sessionManager,
                                             final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                             final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                             final Event<ExpressionEditorChanged> editorSelectedEvent,
                                             final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                             final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                             final ListSelectorView.Presenter listSelector,
                                             final TranslationService translationService,
                                             final ValueAndDataTypePopoverView.Presenter headerEditor,
                                             final @DMNEditor ReadOnlyProvider readOnlyProvider); }
LiteralExpressionEditorDefinition extends BaseEditorDefinition<LiteralExpression, DMNGridData> { @Override public Optional<LiteralExpression> getModelClass() { return Optional.of(new LiteralExpression()); } LiteralExpressionEditorDefinition(); @Inject  LiteralExpressionEditorDefinition(final DefinitionUtils definitionUtils,
                                             final SessionManager sessionManager,
                                             final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                             final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                             final Event<ExpressionEditorChanged> editorSelectedEvent,
                                             final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                             final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                             final ListSelectorView.Presenter listSelector,
                                             final TranslationService translationService,
                                             final ValueAndDataTypePopoverView.Presenter headerEditor,
                                             final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); @Override Optional<LiteralExpression> getModelClass(); @Override Optional<BaseExpressionGrid<? extends Expression, ? extends GridData, ? extends BaseUIModelMapper>> getEditor(final GridCellTuple parent,
                                                                                                                         final Optional<String> nodeUUID,
                                                                                                                         final HasExpression hasExpression,
                                                                                                                         final Optional<HasName> hasName,
                                                                                                                         final boolean isOnlyVisualChangeAllowed,
                                                                                                                         final int nesting); }
LiteralExpressionEditorDefinition extends BaseEditorDefinition<LiteralExpression, DMNGridData> { @Override public Optional<LiteralExpression> getModelClass() { return Optional.of(new LiteralExpression()); } LiteralExpressionEditorDefinition(); @Inject  LiteralExpressionEditorDefinition(final DefinitionUtils definitionUtils,
                                             final SessionManager sessionManager,
                                             final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                             final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                             final Event<ExpressionEditorChanged> editorSelectedEvent,
                                             final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                             final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                             final ListSelectorView.Presenter listSelector,
                                             final TranslationService translationService,
                                             final ValueAndDataTypePopoverView.Presenter headerEditor,
                                             final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); @Override Optional<LiteralExpression> getModelClass(); @Override Optional<BaseExpressionGrid<? extends Expression, ? extends GridData, ? extends BaseUIModelMapper>> getEditor(final GridCellTuple parent,
                                                                                                                         final Optional<String> nodeUUID,
                                                                                                                         final HasExpression hasExpression,
                                                                                                                         final Optional<HasName> hasName,
                                                                                                                         final boolean isOnlyVisualChangeAllowed,
                                                                                                                         final int nesting);  }