Package org.eclipse.cdt.core
Interface ICDescriptor
-
@Deprecated public interface ICDescriptor
Deprecated.as this API is not configuration aware. Replaced byICConfigurationDescription
which can be fetched withICProjectDescription.getConfigurations()
- Restriction:
- This interface is not intended to be referenced by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ICExtensionReference
create(String extensionPointID, String id)
Deprecated.ICExtensionReference[]
get(String extensionPointID)
Deprecated.ICExtensionReference[]
get(String extensionPointID, boolean update)
Deprecated.ICConfigurationDescription
getConfigurationDescription()
Deprecated.Returns the current settings configuration (which contains this descriptor) -- currently equivalent toICProjectDescription.getDefaultSettingConfiguration()
String
getPlatform()
Deprecated.org.eclipse.core.resources.IProject
getProject()
Deprecated.Element
getProjectData(String id)
Deprecated.ICOwnerInfo
getProjectOwner()
Deprecated.ICStorageElement
getProjectStorageElement(String id)
Deprecated.Return a storage element corresponding to the id in which client related metadata may be stored.void
remove(String extensionPoint)
Deprecated.void
remove(ICExtensionReference extension)
ICStorageElement
removeProjectStorageElement(String id)
Deprecated.Remove the storage element with the given ID from the treevoid
saveProjectData()
Deprecated.Saves any changes made toICStorageElement
objects obtained fromgetProjectStorageElement(String)
to a CDT defined project meta-data file.
-
-
-
Method Detail
-
getProjectOwner
ICOwnerInfo getProjectOwner()
Deprecated.
-
getPlatform
String getPlatform()
Deprecated.
-
getProject
org.eclipse.core.resources.IProject getProject()
Deprecated.- Returns:
- the associated project
-
get
@Deprecated ICExtensionReference[] get(String extensionPointID)
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 void remove(String extensionPoint) throws org.eclipse.core.runtime.CoreException
Deprecated.Remove ICExtensionReferences with the given extensionPoint from this descriptor- Parameters:
extensionPoint
-- Throws:
org.eclipse.core.runtime.CoreException
-
getProjectStorageElement
ICStorageElement getProjectStorageElement(String id) throws org.eclipse.core.runtime.CoreException
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 Element getProjectData(String id) throws org.eclipse.core.runtime.CoreException
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.CoreException
Deprecated.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
-
-