@Test public void testModelDefinition() { final Optional<Relation> oModel = definition.getModelClass(); assertThat(oModel).isPresent(); }
@Override public Optional<Relation> getModelClass() { return Optional.of(new Relation()); }
RelationEditorDefinition extends BaseEditorDefinition<Relation, RelationGridData> { @Override public Optional<Relation> getModelClass() { return Optional.of(new Relation()); } }
RelationEditorDefinition extends BaseEditorDefinition<Relation, RelationGridData> { @Override public Optional<Relation> getModelClass() { return Optional.of(new Relation()); } RelationEditorDefinition(); @Inject  RelationEditorDefinition(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 ManagedInstance<ValueAndDataTypePopoverView.Presenter> headerEditors,
                                    final @DMNEditor ReadOnlyProvider readOnlyProvider); }
RelationEditorDefinition extends BaseEditorDefinition<Relation, RelationGridData> { @Override public Optional<Relation> getModelClass() { return Optional.of(new Relation()); } RelationEditorDefinition(); @Inject  RelationEditorDefinition(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 ManagedInstance<ValueAndDataTypePopoverView.Presenter> headerEditors,
                                    final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); @Override Optional<Relation> getModelClass(); @Override void enrich(final Optional<String> nodeUUID,
                       final HasExpression hasExpression,
                       final Optional<Relation> expression); @Override @SuppressWarnings("unused") 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); }
RelationEditorDefinition extends BaseEditorDefinition<Relation, RelationGridData> { @Override public Optional<Relation> getModelClass() { return Optional.of(new Relation()); } RelationEditorDefinition(); @Inject  RelationEditorDefinition(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 ManagedInstance<ValueAndDataTypePopoverView.Presenter> headerEditors,
                                    final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); @Override Optional<Relation> getModelClass(); @Override void enrich(final Optional<String> nodeUUID,
                       final HasExpression hasExpression,
                       final Optional<Relation> expression); @Override @SuppressWarnings("unused") 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);  }