@Test public void testTableFormat() throws Exception { final GuidedDecisionTable52.TableFormat expectedTableFormat = GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY; doReturn(expectedTableFormat).when(model).getTableFormat(); doReturn(model).when(presenter).getModel(); final GuidedDecisionTable52.TableFormat actualTableFormat = plugin.tableFormat(); assertEquals(expectedTableFormat, actualTableFormat); }
@Override public TableFormat tableFormat() { return getModel().getTableFormat(); }
BRLConditionColumnPlugin extends BaseDecisionTableColumnPlugin implements HasDefaultValuesPage,
                                                                                       HasRuleModellerPage,
                                                                                       HasAdditionalInfoPage,
                                                                                       TemplateVariablesChangedEvent.Handler { @Override public TableFormat tableFormat() { return getModel().getTableFormat(); } }
BRLConditionColumnPlugin extends BaseDecisionTableColumnPlugin implements HasDefaultValuesPage,
                                                                                       HasRuleModellerPage,
                                                                                       HasAdditionalInfoPage,
                                                                                       TemplateVariablesChangedEvent.Handler { @Override public TableFormat tableFormat() { return getModel().getTableFormat(); } @Inject  BRLConditionColumnPlugin(final RuleModellerPage ruleModellerPage,
                                    final DefaultValuesPage defaultValuesPage,
                                    final AdditionalInfoPage additionalInfoPage,
                                    final Event<WizardPageStatusChangeEvent> changeEvent,
                                    final TranslationService translationService); }
BRLConditionColumnPlugin extends BaseDecisionTableColumnPlugin implements HasDefaultValuesPage,
                                                                                       HasRuleModellerPage,
                                                                                       HasAdditionalInfoPage,
                                                                                       TemplateVariablesChangedEvent.Handler { @Override public TableFormat tableFormat() { return getModel().getTableFormat(); } @Inject  BRLConditionColumnPlugin(final RuleModellerPage ruleModellerPage,
                                    final DefaultValuesPage defaultValuesPage,
                                    final AdditionalInfoPage additionalInfoPage,
                                    final Event<WizardPageStatusChangeEvent> changeEvent,
                                    final TranslationService translationService); @Override void init(final NewGuidedDecisionTableColumnWizard wizard); @Override void onClose(); @Override String getTitle(); @Override List<WizardPage> getPages(); @Override Boolean generateColumn(); @Override Type getType(); @Override boolean setupDefinedVariables(RuleModel ruleModel); @Override BRLConditionColumn editingCol(); @Override String getHeader(); @Override void setHeader(String header); @Override Set<String> getAlreadyUsedColumnHeaders(); @Override boolean isHideColumn(); @Override void setHideColumn(boolean hideColumn); @Override void setInsertLogical(Boolean value); @Override void setUpdate(Boolean value); @Override boolean showUpdateEngineWithChanges(); @Override boolean showLogicallyInsert(); @Override boolean isLogicallyInsert(); @Override boolean isUpdateEngine(); @Override RuleModel getRuleModel(); @Override Collection<RuleModellerActionPlugin> getRuleModellerActionPlugins(); @Override RuleModellerConfiguration getRuleModellerConfiguration(); @Override String getRuleModellerDescription(); @Override void setRuleModellerPageAsCompleted(); @Override Boolean isRuleModellerPageCompleted(); @Override TableFormat tableFormat(); @Override void onTemplateVariablesChanged(TemplateVariablesChangedEvent event); }
BRLConditionColumnPlugin extends BaseDecisionTableColumnPlugin implements HasDefaultValuesPage,
                                                                                       HasRuleModellerPage,
                                                                                       HasAdditionalInfoPage,
                                                                                       TemplateVariablesChangedEvent.Handler { @Override public TableFormat tableFormat() { return getModel().getTableFormat(); } @Inject  BRLConditionColumnPlugin(final RuleModellerPage ruleModellerPage,
                                    final DefaultValuesPage defaultValuesPage,
                                    final AdditionalInfoPage additionalInfoPage,
                                    final Event<WizardPageStatusChangeEvent> changeEvent,
                                    final TranslationService translationService); @Override void init(final NewGuidedDecisionTableColumnWizard wizard); @Override void onClose(); @Override String getTitle(); @Override List<WizardPage> getPages(); @Override Boolean generateColumn(); @Override Type getType(); @Override boolean setupDefinedVariables(RuleModel ruleModel); @Override BRLConditionColumn editingCol(); @Override String getHeader(); @Override void setHeader(String header); @Override Set<String> getAlreadyUsedColumnHeaders(); @Override boolean isHideColumn(); @Override void setHideColumn(boolean hideColumn); @Override void setInsertLogical(Boolean value); @Override void setUpdate(Boolean value); @Override boolean showUpdateEngineWithChanges(); @Override boolean showLogicallyInsert(); @Override boolean isLogicallyInsert(); @Override boolean isUpdateEngine(); @Override RuleModel getRuleModel(); @Override Collection<RuleModellerActionPlugin> getRuleModellerActionPlugins(); @Override RuleModellerConfiguration getRuleModellerConfiguration(); @Override String getRuleModellerDescription(); @Override void setRuleModellerPageAsCompleted(); @Override Boolean isRuleModellerPageCompleted(); @Override TableFormat tableFormat(); @Override void onTemplateVariablesChanged(TemplateVariablesChangedEvent event);  }