throw new IllegalArgumentException("Component composite cannot be null");
}
ApexComponentWizardComposite apexComponentWizardComposite =
(ApexComponentWizardComposite) componentWizardComposite;
ApexComponentModel apexComponentWizardModel = (ApexComponentModel) componentWizard.getComponentWizardModel();
Component component = apexComponentWizardModel.getComponent();
// create metadata instance and save metadata input values
com.salesforce.ide.api.metadata.types.ApexComponent apexComponent =
(com.salesforce.ide.api.metadata.types.ApexComponent) component.getDefaultMetadataExtInstance();
apexComponent.setLabel(apexComponentWizardComposite.getLabelString());