substringComboViewer.setSelection( new StructuredSelection( new NonExistingMatchingRule(
NonExistingMatchingRule.NONE ) ), true );
}
else
{
MatchingRuleImpl matchingRule = schemaHandler.getMatchingRule( substringName );
if ( matchingRule != null )
{
substringComboViewer.setSelection( new StructuredSelection( matchingRule ), true );
}
else