setSelectorLabel(PackageResources.COMBO_LABEL);
setNoSelectionErrorMessage(PackageResources.TargetStartPage.NO_TARGET_SELECTED);
}
public void applyToTransformation(Transformation tf) throws WizardPageException {
JmsMessage msg = getSelectedEntity();
if (msg != null) {
tf.setTargetJmsMessage(msg);
DataStructure output = getStructure(msg);
tf.setOutputStructure(output);
tf.setTargetTextDocumentId(msg.getPayloadTextDocumentId());
// TODO: The message properties.
} else {
// TODO: This may happen if the user deleted the JMS message before completing
// the transformation.
throw new WizardPageException(this, PackageResources.TargetStartPage.NO_TARGET_SELECTED);