|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.make.internal.core.scannerconfig2.ScannerConfigProfileManager
public class ScannerConfigProfileManager
Manages profiles per project
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SI_PROFILE_ID
|
static java.lang.String |
NULL_PROFILE_ID
|
static java.lang.String |
PER_PROJECT_PROFILE_ID
|
static java.lang.String |
SI_PROFILE_SIMPLE_ID
|
Method Summary | |
---|---|
void |
addProfile(org.eclipse.core.resources.IProject project,
InfoContext context,
ScannerConfigProfile profile)
|
void |
addProfile(org.eclipse.core.resources.IProject project,
ScannerConfigProfile profile)
For projects that do not have profile id specified in .project file. |
static IScannerConfigBuilderInfo2 |
createScannerConfigBuildInfo2(org.eclipse.core.resources.IProject project)
Use stored selectedProfile |
static IScannerConfigBuilderInfo2 |
createScannerConfigBuildInfo2(org.eclipse.core.resources.IProject project,
java.lang.String profileId)
Set selectedProfile to profileId |
static IScannerConfigBuilderInfo2 |
createScannerConfigBuildInfo2(org.eclipse.core.runtime.Preferences prefs,
boolean useDefaults)
Use stored selectedProfile |
static IScannerConfigBuilderInfo2 |
createScannerConfigBuildInfo2(org.eclipse.core.runtime.Preferences prefs,
java.lang.String profileId,
boolean useDefaults)
Set selectedProfile to profileId |
static IScannerConfigBuilderInfo2Set |
createScannerConfigBuildInfo2Set(org.eclipse.core.resources.IProject project)
|
static IScannerConfigBuilderInfo2Set |
createScannerConfigBuildInfo2Set(org.eclipse.core.resources.IProject project,
java.lang.String profileId)
|
static IScannerConfigBuilderInfo2Set |
createScannerConfigBuildInfo2Set(org.eclipse.core.runtime.Preferences prefs,
boolean useDefaults)
|
static IScannerConfigBuilderInfo2Set |
createScannerConfigBuildInfo2Set(org.eclipse.core.runtime.Preferences prefs,
java.lang.String profileId,
boolean useDefaults)
|
static java.lang.String |
getDefaultSIProfileId()
|
static ScannerConfigProfileManager |
getInstance()
|
java.util.List |
getProfileIds()
|
java.util.List |
getProfileIds(InfoContext context)
returns the list od profile IDs supported for this context |
ScannerConfigProfile |
getSCProfileConfiguration(java.lang.String profileId)
|
SCProfileInstance |
getSCProfileInstance(org.eclipse.core.resources.IProject project,
InfoContext context,
java.lang.String profileId)
|
SCProfileInstance |
getSCProfileInstance(org.eclipse.core.resources.IProject project,
java.lang.String profileId)
|
SCProfileInstance |
getSCProfileInstance(java.lang.String profileId)
|
void |
handleProjectRemoved(org.eclipse.core.resources.IProject project)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SI_PROFILE_SIMPLE_ID
public static final java.lang.String PER_PROJECT_PROFILE_ID
public static final java.lang.String DEFAULT_SI_PROFILE_ID
public static final java.lang.String NULL_PROFILE_ID
Method Detail |
---|
public static ScannerConfigProfileManager getInstance()
public void addProfile(org.eclipse.core.resources.IProject project, ScannerConfigProfile profile)
project
- profile
- public void addProfile(org.eclipse.core.resources.IProject project, InfoContext context, ScannerConfigProfile profile)
public void handleProjectRemoved(org.eclipse.core.resources.IProject project)
public SCProfileInstance getSCProfileInstance(org.eclipse.core.resources.IProject project, java.lang.String profileId)
project
- profileId
- - if null, get the one associated with the project
public SCProfileInstance getSCProfileInstance(org.eclipse.core.resources.IProject project, InfoContext context, java.lang.String profileId)
public SCProfileInstance getSCProfileInstance(java.lang.String profileId)
profileId
-
public ScannerConfigProfile getSCProfileConfiguration(java.lang.String profileId)
profileId
- - if null, get the default one
public java.util.List getProfileIds()
public java.util.List getProfileIds(InfoContext context)
context
-
public static java.lang.String getDefaultSIProfileId()
public static IScannerConfigBuilderInfo2 createScannerConfigBuildInfo2(org.eclipse.core.resources.IProject project, java.lang.String profileId) throws org.eclipse.core.runtime.CoreException
project
- profileId
-
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2 createScannerConfigBuildInfo2(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
project
-
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2Set createScannerConfigBuildInfo2Set(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2Set createScannerConfigBuildInfo2Set(org.eclipse.core.resources.IProject project, java.lang.String profileId) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2Set createScannerConfigBuildInfo2Set(org.eclipse.core.runtime.Preferences prefs, boolean useDefaults) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2Set createScannerConfigBuildInfo2Set(org.eclipse.core.runtime.Preferences prefs, java.lang.String profileId, boolean useDefaults) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static IScannerConfigBuilderInfo2 createScannerConfigBuildInfo2(org.eclipse.core.runtime.Preferences prefs, java.lang.String profileId, boolean useDefaults)
prefs
- profileId
- useDefaults
-
public static IScannerConfigBuilderInfo2 createScannerConfigBuildInfo2(org.eclipse.core.runtime.Preferences prefs, boolean useDefaults)
prefs
- useDefaults
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |