org.eclipse.cdt.internal.core
Class CContentTypes

java.lang.Object
  extended by org.eclipse.cdt.internal.core.CContentTypes

public class CContentTypes
extends java.lang.Object

Handles the access to the content types of the platform.

Author:
markus.schorn@windriver.com

Constructor Summary
CContentTypes()
           
 
Method Summary
static org.eclipse.core.runtime.content.IContentType getContentType(org.eclipse.core.resources.IProject project, java.lang.String filename)
          Implementation for CCorePlugin.getContentType(IProject, String).
static void setUseProjectSpecificContentTypes(org.eclipse.core.resources.IProject project, boolean val)
          Implementation for CCorePlugin.setUseProjectSpecificContentTypes(IProject, boolean).
static boolean usesProjectSpecificContentTypes(org.eclipse.core.resources.IProject project)
          This method is copied from the resources plugin and figures out whether project specific settings are enabled or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CContentTypes

public CContentTypes()
Method Detail

getContentType

public static org.eclipse.core.runtime.content.IContentType getContentType(org.eclipse.core.resources.IProject project,
                                                                           java.lang.String filename)
Implementation for CCorePlugin.getContentType(IProject, String).


usesProjectSpecificContentTypes

public static boolean usesProjectSpecificContentTypes(org.eclipse.core.resources.IProject project)
This method is copied from the resources plugin and figures out whether project specific settings are enabled or not. Implementation for CCorePlugin.usesProjectSpecificContentTypes(IProject).


setUseProjectSpecificContentTypes

public static void setUseProjectSpecificContentTypes(org.eclipse.core.resources.IProject project,
                                                     boolean val)
Implementation for CCorePlugin.setUseProjectSpecificContentTypes(IProject, boolean).