protected void closingOK(){
  StringBuffer buff=new StringBuffer();
  for (int i=0; i < m_listModel.size(); i++) {
    SubstringLabelerRules.SubstringLabelerMatchRule m=(SubstringLabelerRules.SubstringLabelerMatchRule)m_listModel.elementAt(i);
    buff.append(m.toStringInternal());
    if (i < m_listModel.size() - 1) {
      buff.append("@@match-rule@@");
    }
  }
  m_labeler.setMatchDetails(buff.toString());
  m_labeler.setNominalBinary(m_nominalBinaryCheck.isSelected());
  m_labeler.setConsumeNonMatching(m_consumeNonMatchingCheck.isSelected());
  m_labeler.setMatchAttributeName(m_matchAttNameField.getText());
  if (m_modifyL != null) {
    m_modifyL.setModifiedStatus(SubstringLabelerCustomizer.this,true);
  }
}

protected void closingOK ( ) { StringBuffer buff = new StringBuffer ( ) ; for ( int i = 0 ; i < m_listModel . size ( ) ; i ++ ) { SubstringLabelerRules . SubstringLabelerMatchRule m = ( SubstringLabelerRules . SubstringLabelerMatchRule ) m_listModel . elementAt ( i ) ; buff . append ( m . toStringInternal ( ) ) ; if ( i < m_listModel . size ( ) - 1 ) { buff . append ( "@@match-rule@@" ) ; } } m_labeler . setMatchDetails ( buff . toString ( ) ) ; m_labeler . setNominalBinary ( m_nominalBinaryCheck . isSelected ( ) ) ; m_labeler . setConsumeNonMatching ( m_consumeNonMatchingCheck . isSelected ( ) ) ; m_labeler . setMatchAttributeName ( m_matchAttNameField . getText ( ) ) ; if ( m_modifyL != null ) { m_modifyL . setModifiedStatus ( SubstringLabelerCustomizer . this , true ) ; } }
handle a closing event under an ok condition
