Examples of useProjectLevelProfileSettings()


Examples of com.intellij.profile.ProjectProfileManager.useProjectLevelProfileSettings()

  public Set<String> getActiveInspectionProfiles() {
    Set<String> result = new HashSet<String>();
    if (myType == PROJECT || myType == CUSTOM){
      final ProjectProfileManager profileManager = ProjectProfileManager.getProjectProfileManager(myProject, Profile.INSPECTION);
      LOG.assertTrue(profileManager != null);
      if (profileManager.useProjectLevelProfileSettings()) {
        result.addAll(profileManager.getProfilesUsedInProject().values());
        result.add(profileManager.getProjectProfile());
      } else {
        final ApplicationProfileManager applicationProfileManager = ApplicationProfileManager.getProfileManager(Profile.INSPECTION);
        LOG.assertTrue(applicationProfileManager != null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.