org.eclipse.cdt.internal.core
Class CConfigBasedDescriptor

java.lang.Object
  extended by org.eclipse.cdt.internal.core.CConfigBasedDescriptor
All Implemented Interfaces:
ICDescriptor

public class CConfigBasedDescriptor
extends java.lang.Object
implements ICDescriptor


Constructor Summary
CConfigBasedDescriptor(org.eclipse.cdt.core.settings.model.ICConfigurationDescription des)
           
 
Method Summary
 void apply(boolean force)
           
 ICExtensionReference create(java.lang.String extensionPoint, java.lang.String id)
           
 ICExtensionReference[] get(java.lang.String extensionPoint)
           
 ICExtensionReference[] get(java.lang.String extensionPoint, boolean update)
           
 org.eclipse.cdt.core.settings.model.ICConfigurationDescription getConfigurationDescription()
           
 java.lang.String getPlatform()
           
 org.eclipse.core.resources.IProject getProject()
           
 org.w3c.dom.Element getProjectData(java.lang.String id)
           
 ICOwnerInfo getProjectOwner()
           
 java.util.Map getStorageDataElMap()
           
 boolean isApplyOnChange()
           
 void remove(ICExtensionReference extension)
           
 void remove(java.lang.String extensionPoint)
           
 void saveProjectData()
           
 void setApplyOnChange(boolean apply)
           
 void updateConfiguration(org.eclipse.cdt.core.settings.model.ICConfigurationDescription des)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CConfigBasedDescriptor

public CConfigBasedDescriptor(org.eclipse.cdt.core.settings.model.ICConfigurationDescription des)
                       throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException
Method Detail

setApplyOnChange

public void setApplyOnChange(boolean apply)

isApplyOnChange

public boolean isApplyOnChange()

apply

public void apply(boolean force)
           throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

create

public ICExtensionReference create(java.lang.String extensionPoint,
                                   java.lang.String id)
                            throws org.eclipse.core.runtime.CoreException
Specified by:
create in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

updateConfiguration

public void updateConfiguration(org.eclipse.cdt.core.settings.model.ICConfigurationDescription des)
                         throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

get

public ICExtensionReference[] get(java.lang.String extensionPoint)
Specified by:
get in interface ICDescriptor

get

public ICExtensionReference[] get(java.lang.String extensionPoint,
                                  boolean update)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
get in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

getPlatform

public java.lang.String getPlatform()
Specified by:
getPlatform in interface ICDescriptor

getProject

public org.eclipse.core.resources.IProject getProject()
Specified by:
getProject in interface ICDescriptor

getProjectData

public org.w3c.dom.Element getProjectData(java.lang.String id)
                                   throws org.eclipse.core.runtime.CoreException
Specified by:
getProjectData in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

getProjectOwner

public ICOwnerInfo getProjectOwner()
Specified by:
getProjectOwner in interface ICDescriptor

remove

public void remove(ICExtensionReference extension)
            throws org.eclipse.core.runtime.CoreException
Specified by:
remove in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

remove

public void remove(java.lang.String extensionPoint)
            throws org.eclipse.core.runtime.CoreException
Specified by:
remove in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

saveProjectData

public void saveProjectData()
                     throws org.eclipse.core.runtime.CoreException
Specified by:
saveProjectData in interface ICDescriptor
Throws:
org.eclipse.core.runtime.CoreException

getStorageDataElMap

public java.util.Map getStorageDataElMap()

getConfigurationDescription

public org.eclipse.cdt.core.settings.model.ICConfigurationDescription getConfigurationDescription()
Specified by:
getConfigurationDescription in interface ICDescriptor