// Create an editor for the pairType.
if (pairType == null) {
throw new IllegalStateException("Can't make pair editor for " +
"non-pair type");
} else {
PropertyIdentifier identifier = descriptor.getIdentifier();
String firstName = EditorMessages.getString(RESOURCE_PREFIX +
identifier.getName() + ".first.label");
String secondName = EditorMessages.getString(RESOURCE_PREFIX +
identifier.getName() + ".second.label");
final StylePairEditor styleEditor = new StylePairEditor(this,
SWT.NONE, styleProperty, pairType, true, context,
firstName, secondName);