public final class CProjectDescriptionEvent extends Object
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.
ICConfigurationDescription
,
CConfigurationDescription
,
CConfigurationDescriptionCache
Modifier and Type | Field and Description |
---|---|
static int |
ABOUT_TO_APPLY
Event kind indicating we're about to set the project description
|
static int |
ALL
Event kind encapsulated ALL events
|
static int |
APPLIED |
static int |
COPY_CREATED
Event kind indicating a copy of the description has been created
|
static int |
DATA_APPLIED |
static int |
LOADED
Event kind indicating project description has loaded
|
Constructor and Description |
---|
CProjectDescriptionEvent(int type,
ICDescriptionDelta delta,
ICProjectDescription newDes,
ICProjectDescription oldDes,
ICProjectDescription appliedDes) |
Modifier and Type | Method and Description |
---|---|
ICDescriptionDelta |
getActiveCfgDelta() |
ICProjectDescription |
getAppliedCProjectDescription() |
ICDescriptionDelta |
getDefaultSettingCfgDelta() |
int |
getEventType() |
ICProjectDescription |
getNewCProjectDescription()
Return the new description which may be writeable (depending on the event type)
|
ICProjectDescription |
getOldCProjectDescription() |
org.eclipse.core.resources.IProject |
getProject() |
ICDescriptionDelta |
getProjectDelta() |
public static final int LOADED
public static final int ABOUT_TO_APPLY
public static final int APPLIED
public static final int COPY_CREATED
public static final int DATA_APPLIED
public static final int ALL
public CProjectDescriptionEvent(int type, ICDescriptionDelta delta, ICProjectDescription newDes, ICProjectDescription oldDes, ICProjectDescription appliedDes)
public org.eclipse.core.resources.IProject getProject()
public int getEventType()
public ICDescriptionDelta getProjectDelta()
public ICDescriptionDelta getActiveCfgDelta()
public ICDescriptionDelta getDefaultSettingCfgDelta()
public ICProjectDescription getOldCProjectDescription()
public ICProjectDescription getNewCProjectDescription()
public ICProjectDescription getAppliedCProjectDescription()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.