org.eclipse.cdt.internal.core
Class CConfigBasedDescriptorManager

java.lang.Object
  extended by org.eclipse.cdt.internal.core.CConfigBasedDescriptorManager
All Implemented Interfaces:
ICDescriptorManager

public class CConfigBasedDescriptorManager
extends java.lang.Object
implements ICDescriptorManager


Field Summary
static java.lang.String NULL_OWNER_ID
           
 
Method Summary
 void addDescriptorListener(ICDescriptorListener listener)
           
 void configure(org.eclipse.core.resources.IProject project, java.lang.String id)
           
 void convert(org.eclipse.core.resources.IProject project, java.lang.String id)
           
 ICDescriptor getDescriptor(org.eclipse.core.resources.IProject project)
           
 ICDescriptor getDescriptor(org.eclipse.core.resources.IProject project, boolean create)
           
static CConfigBasedDescriptorManager getInstance()
           
static CConfigBasedDescriptorManager getInstanceSynch()
           
 COwnerConfiguration getOwnerConfiguration(java.lang.String id)
           
 boolean reconsile(CConfigBasedDescriptor descriptor, org.eclipse.cdt.core.settings.model.ICProjectDescription des)
           
 void removeDescriptorListener(ICDescriptorListener listener)
           
 void runDescriptorOperation(org.eclipse.core.resources.IProject project, ICDescriptorOperation op, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void runDescriptorOperation(org.eclipse.core.resources.IProject project, org.eclipse.cdt.core.settings.model.ICProjectDescription des, ICDescriptorOperation op, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void shutdown()
           
 void startup()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_OWNER_ID

public static final java.lang.String NULL_OWNER_ID
See Also:
Constant Field Values
Method Detail

getInstance

public static CConfigBasedDescriptorManager getInstance()

getInstanceSynch

public static CConfigBasedDescriptorManager getInstanceSynch()

configure

public void configure(org.eclipse.core.resources.IProject project,
                      java.lang.String id)
               throws org.eclipse.core.runtime.CoreException
Specified by:
configure in interface ICDescriptorManager
Throws:
org.eclipse.core.runtime.CoreException

convert

public void convert(org.eclipse.core.resources.IProject project,
                    java.lang.String id)
             throws org.eclipse.core.runtime.CoreException
Specified by:
convert in interface ICDescriptorManager
Throws:
org.eclipse.core.runtime.CoreException

getDescriptor

public ICDescriptor getDescriptor(org.eclipse.core.resources.IProject project)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
getDescriptor in interface ICDescriptorManager
Returns:
Throws:
org.eclipse.core.runtime.CoreException

getDescriptor

public ICDescriptor getDescriptor(org.eclipse.core.resources.IProject project,
                                  boolean create)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
getDescriptor in interface ICDescriptorManager
Returns:
Throws:
org.eclipse.core.runtime.CoreException

addDescriptorListener

public void addDescriptorListener(ICDescriptorListener listener)
Specified by:
addDescriptorListener in interface ICDescriptorManager

removeDescriptorListener

public void removeDescriptorListener(ICDescriptorListener listener)
Specified by:
removeDescriptorListener in interface ICDescriptorManager

runDescriptorOperation

public void runDescriptorOperation(org.eclipse.core.resources.IProject project,
                                   ICDescriptorOperation op,
                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws org.eclipse.core.runtime.CoreException
Specified by:
runDescriptorOperation in interface ICDescriptorManager
Throws:
org.eclipse.core.runtime.CoreException

runDescriptorOperation

public void runDescriptorOperation(org.eclipse.core.resources.IProject project,
                                   org.eclipse.cdt.core.settings.model.ICProjectDescription des,
                                   ICDescriptorOperation op,
                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws org.eclipse.core.runtime.CoreException
Specified by:
runDescriptorOperation in interface ICDescriptorManager
Throws:
org.eclipse.core.runtime.CoreException

getOwnerConfiguration

public COwnerConfiguration getOwnerConfiguration(java.lang.String id)

startup

public void startup()

shutdown

public void shutdown()

reconsile

public boolean reconsile(CConfigBasedDescriptor descriptor,
                         org.eclipse.cdt.core.settings.model.ICProjectDescription des)