@Test public void testGetTitle() { final String errorKey = GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn; final String errorMessage = "Title"; when(translationService.format(errorKey)).thenReturn(errorMessage); final String title = plugin.getTitle(); assertEquals(errorMessage, title); }
@Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn); }
MetaDataColumnPlugin extends BaseDecisionTableColumnPlugin { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn); } }
MetaDataColumnPlugin extends BaseDecisionTableColumnPlugin { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn); } @Inject  MetaDataColumnPlugin(final MetaDataColumnPage page,
                                final Event<WizardPageStatusChangeEvent> changeEvent,
                                final TranslationService translationService); }
MetaDataColumnPlugin extends BaseDecisionTableColumnPlugin { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn); } @Inject  MetaDataColumnPlugin(final MetaDataColumnPage page,
                                final Event<WizardPageStatusChangeEvent> changeEvent,
                                final TranslationService translationService); @Override String getTitle(); @Override List<WizardPage> getPages(); @Override Boolean generateColumn(); @Override Type getType(); String getMetaData(); void setMetaData(String metaData); }
MetaDataColumnPlugin extends BaseDecisionTableColumnPlugin { @Override public String getTitle() { return translate(GuidedDecisionTableErraiConstants.MetaDataColumnPlugin_AddMetadataColumn); } @Inject  MetaDataColumnPlugin(final MetaDataColumnPage page,
                                final Event<WizardPageStatusChangeEvent> changeEvent,
                                final TranslationService translationService); @Override String getTitle(); @Override List<WizardPage> getPages(); @Override Boolean generateColumn(); @Override Type getType(); String getMetaData(); void setMetaData(String metaData);  }