Class CProjectDescriptionEvent
java.lang.Object
org.eclipse.cdt.core.settings.model.CProjectDescriptionEvent
Events fired for the project deltas.
The ProjectDescription life-cycle looks like:
-
LOADED
- configuration is loaded and read-only. -
COPY_CREATED
- Indicates new writable description has been created from the read-only description backing store. -
ABOUT_TO_APPLY
- First event in the setProjectDescription flow. New description writable, old description represents the cache. -
DATA_APPLIED
- Event indicating that configuration data has been applied by the build system. -
APPLIED
- setProjectDescription finished, newDescription is read-only.
- See Also:
-
ICConfigurationDescription
CConfigurationDescription
CConfigurationDescriptionCache
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Event kind indicating we're about to set the project descriptionstatic final int
Event kind encapsulated ALL eventsstatic final int
static final int
Event kind indicating a copy of the description has been createdstatic final int
static final int
Event kind indicating project description has loaded -
Constructor Summary
ConstructorDescriptionCProjectDescriptionEvent
(int type, ICDescriptionDelta delta, ICProjectDescription newDes, ICProjectDescription oldDes, ICProjectDescription appliedDes) -
Method Summary
Modifier and TypeMethodDescriptionint
Return the new description which may be writeable (depending on the event type)org.eclipse.core.resources.IProject
-
Field Details
-
LOADED
public static final int LOADEDEvent kind indicating project description has loaded- See Also:
-
ABOUT_TO_APPLY
public static final int ABOUT_TO_APPLYEvent kind indicating we're about to set the project description- See Also:
-
APPLIED
public static final int APPLIED- See Also:
-
COPY_CREATED
public static final int COPY_CREATEDEvent kind indicating a copy of the description has been created- See Also:
-
DATA_APPLIED
public static final int DATA_APPLIED- See Also:
-
ALL
public static final int ALLEvent kind encapsulated ALL events- See Also:
-
-
Constructor Details
-
CProjectDescriptionEvent
public CProjectDescriptionEvent(int type, ICDescriptionDelta delta, ICProjectDescription newDes, ICProjectDescription oldDes, ICProjectDescription appliedDes)
-
-
Method Details
-
getProject
public org.eclipse.core.resources.IProject getProject() -
getEventType
public int getEventType() -
getProjectDelta
-
getActiveCfgDelta
-
getDefaultSettingCfgDelta
-
getOldCProjectDescription
- Returns:
- return the previous project description, may be null
-
getNewCProjectDescription
Return the new description which may be writeable (depending on the event type)- Returns:
- new project description
-
getAppliedCProjectDescription
- Returns:
- the applied project description, may be null
-