Package org.eclipse.cdt.core
Interface ICDescriptor
Deprecated.
- Restriction:
- This interface is not intended to be referenced by clients.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Returns the current settings configuration (which contains this descriptor) -- currently equivalent toICProjectDescription.getDefaultSettingConfiguration()
Deprecated.org.eclipse.core.resources.IProject
Deprecated.getProjectData
(String id) Deprecated.Deprecated.Deprecated.Return a storage element corresponding to the id in which client related metadata may be stored.void
Deprecated.void
remove
(ICExtensionReference extension) Deprecated.Remove the storage element with the given ID from the treevoid
Deprecated.Saves any changes made toICStorageElement
objects obtained fromgetProjectStorageElement(String)
to a CDT defined project meta-data file.
-
Method Details
-
getProjectOwner
ICOwnerInfo getProjectOwner()Deprecated. -
getPlatform
String getPlatform()Deprecated. -
getProject
org.eclipse.core.resources.IProject getProject()Deprecated.- Returns:
- the associated project
-
get
Deprecated.Returns anICExtensionReference
[] corresponding to a particular extensionPoint. This array contains all the ICExtensionReferences from all the ICConfigurationDescriptions in the project- Parameters:
extensionPointID
- String extensionPointID- Returns:
- ICExtensionReference[] ICExtensionReference array
-
get
@Deprecated ICExtensionReference[] get(String extensionPointID, boolean update) throws org.eclipse.core.runtime.CoreException Deprecated.Returns anICExtensionReference
[] corresponding to a particular extensionPoint. This array contains all the ICExtensionReferences from all the ICConfigurationDescriptions in the project- Parameters:
extensionPointID
- String extensionPointIDupdate
- updates the COwner- Returns:
- ICExtensionReference[] ICExtensionReference array
- Throws:
org.eclipse.core.runtime.CoreException
-
create
@Deprecated ICExtensionReference create(String extensionPointID, String id) throws org.eclipse.core.runtime.CoreException Deprecated.Create an ICExtensionReference for the given extensionPointId with id = id. This is not CConfigurationDescription aware and so is added to all configurations in the project. You should instead use:ICConfigurationDescription.create(String, String)
- Parameters:
extensionPointID
-id
-- Returns:
- the create ICExtensionReference
- Throws:
org.eclipse.core.runtime.CoreException
-
remove
@Deprecated void remove(ICExtensionReference extension) throws org.eclipse.core.runtime.CoreException Deprecated.Remove a given ICExtensionReference from the project description.- Parameters:
extension
-- Throws:
org.eclipse.core.runtime.CoreException
-
remove
Deprecated.Remove ICExtensionReferences with the given extensionPoint from this descriptor- Parameters:
extensionPoint
-- Throws:
org.eclipse.core.runtime.CoreException
-
getProjectStorageElement
Deprecated.Return a storage element corresponding to the id in which client related metadata may be stored.- Parameters:
id
- an identifier that uniquely identifies the client- Returns:
- a non-null
ICStorageElement
to which client specific meta-data may be attached - Throws:
org.eclipse.core.runtime.CoreException
- Since:
- 5.1
-
getProjectData
Deprecated.This method has been superceded bygetProjectStorageElement(String)
- Parameters:
id
- an identifier that uniquely identifies the client- Returns:
- a non-null
Element
to which client specific meta-data may be attached - Throws:
org.eclipse.core.runtime.CoreException
- Restriction:
- This method is not intended to be referenced by clients.
-
removeProjectStorageElement
ICStorageElement removeProjectStorageElement(String id) throws org.eclipse.core.runtime.CoreException Deprecated.Remove the storage element with the given ID from the tree- Parameters:
id
-- Returns:
- the ICStorageElement removed or null if there was none for id
- Throws:
org.eclipse.core.runtime.CoreException
- Since:
- 5.1
-
saveProjectData
void saveProjectData() throws org.eclipse.core.runtime.CoreExceptionDeprecated.Saves any changes made toICStorageElement
objects obtained fromgetProjectStorageElement(String)
to a CDT defined project meta-data file.- Throws:
org.eclipse.core.runtime.CoreException
-
getConfigurationDescription
ICConfigurationDescription getConfigurationDescription()Deprecated.Returns the current settings configuration (which contains this descriptor) -- currently equivalent toICProjectDescription.getDefaultSettingConfiguration()
- Returns:
- the current setting
ICConfigurationDescription
-
ICConfigurationDescription
which can be fetched withICProjectDescription.getConfigurations()