if (component.getComponentType().equalsIgnoreCase("ApexClass")) {
propertySheet = new ApexClassPropertySheet(multiPageEditor);
}
if (component.getComponentType().equalsIgnoreCase("ApexTrigger")) {
propertySheet = new ApexTriggerPropertySheet(multiPageEditor);
}
if (component.getComponentType().equalsIgnoreCase("ApexPage")) {
propertySheet = new ApexPagePropertySheet(multiPageEditor);
}
if (component.getComponentType().equalsIgnoreCase("ApexComponent")) {