@Test public void testHandleMetadataAddition() { final String metadata = "a_b_c"; popup.handleMetadataAddition(metadata); assertThat(model.attributes).isEmpty(); assertThat(model.metadataList).containsExactly(new RuleMetadata(metadata, "")); }
@Override protected void handleMetadataAddition(final String metadataName) { model.addMetadata(new RuleMetadata(metadataName, "")); refresh.execute(); }
GuidedRuleAttributeSelectorPopup extends AttributeSelectorPopup { @Override protected void handleMetadataAddition(final String metadataName) { model.addMetadata(new RuleMetadata(metadataName, "")); refresh.execute(); } }
GuidedRuleAttributeSelectorPopup extends AttributeSelectorPopup { @Override protected void handleMetadataAddition(final String metadataName) { model.addMetadata(new RuleMetadata(metadataName, "")); refresh.execute(); }  }
GuidedRuleAttributeSelectorPopup extends AttributeSelectorPopup { @Override protected void handleMetadataAddition(final String metadataName) { model.addMetadata(new RuleMetadata(metadataName, "")); refresh.execute(); }  void init(final RuleModel model,
                     final boolean lockLHS,
                     final boolean lockRHS,
                     final Command refresh); }
GuidedRuleAttributeSelectorPopup extends AttributeSelectorPopup { @Override protected void handleMetadataAddition(final String metadataName) { model.addMetadata(new RuleMetadata(metadataName, "")); refresh.execute(); }  void init(final RuleModel model,
                     final boolean lockLHS,
                     final boolean lockRHS,
                     final Command refresh);  }