public InspectionProfileImpl(
     final String inspectionProfile,
     final InspectionToolRegistrar registrar,
     final ProfileManager profileManager) {
   super(inspectionProfile);
   myRegistrar = registrar;
   myBaseProfile = getDefaultProfile();
   setProfileManager(profileManager);
 }
  public InspectionProfileImpl(InspectionProfileImpl inspectionProfile) {
    super(inspectionProfile.getName());

    myRegistrar = inspectionProfile.myRegistrar;
    myTools = new HashMap<String, ToolsImpl>();
    myDeinstalledInspectionsSettings =
        new LinkedHashMap<String, Element>(inspectionProfile.myDeinstalledInspectionsSettings);

    myBaseProfile = inspectionProfile.myBaseProfile;
    myLocal = inspectionProfile.myLocal;
    myLockedProfile = inspectionProfile.myLockedProfile;
    mySource = inspectionProfile;
    setProfileManager(inspectionProfile.getProfileManager());
    copyFrom(inspectionProfile);
    initInspectionTools();
  }
 public InspectionProfileImpl(@NonNls String name) {
   super(name);
   myRegistrar = InspectionToolRegistrar.getInstance();
   setProfileManager(InspectionProfileManager.getInstance());
 }