throw new IllegalArgumentException("Component composite cannot be null");
}
CustomObjectWizardComposite customObjectWizardComposite =
(CustomObjectWizardComposite) componentWizardComposite;
CustomObjectModel customObjectWizardModel = (CustomObjectModel) componentWizard.getComponentWizardModel();
Component component = customObjectWizardModel.getComponent();
// create metadata instance and save metadata input values
com.salesforce.ide.api.metadata.types.CustomObject customObject =
(com.salesforce.ide.api.metadata.types.CustomObject) component.getDefaultMetadataExtInstance();
customObject.setLabel(customObjectWizardComposite.getLabelString());