Package org.eclipse.cdt.core
Interface ICDescriptor
-
@Deprecated public interface ICDescriptor
Deprecated.as this API is not configuration aware. Replaced byICConfigurationDescriptionwhich 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 ICExtensionReferencecreate(String extensionPointID, String id)Deprecated.ICExtensionReference[]get(String extensionPointID)Deprecated.ICExtensionReference[]get(String extensionPointID, boolean update)Deprecated.ICConfigurationDescriptiongetConfigurationDescription()Deprecated.Returns the current settings configuration (which contains this descriptor) -- currently equivalent toICProjectDescription.getDefaultSettingConfiguration()StringgetPlatform()Deprecated.org.eclipse.core.resources.IProjectgetProject()Deprecated.ElementgetProjectData(String id)Deprecated.ICOwnerInfogetProjectOwner()Deprecated.ICStorageElementgetProjectStorageElement(String id)Deprecated.Return a storage element corresponding to the id in which client related metadata may be stored.voidremove(String extensionPoint)Deprecated.voidremove(ICExtensionReference extension)ICStorageElementremoveProjectStorageElement(String id)Deprecated.Remove the storage element with the given ID from the treevoidsaveProjectData()Deprecated.Saves any changes made toICStorageElementobjects 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
ICStorageElementto 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
Elementto 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 toICStorageElementobjects 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
-
-