org.eclipse.cdt.internal.ui.preferences
Class CFileTypeAssociation
java.lang.Object
org.eclipse.cdt.internal.ui.preferences.CFileTypeAssociation
public class CFileTypeAssociation
- extends java.lang.Object
Constructor Summary |
CFileTypeAssociation(java.lang.String spec,
int type,
org.eclipse.core.runtime.content.IContentType contentType)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
CFileTypeAssociation
public CFileTypeAssociation(java.lang.String spec,
int type,
org.eclipse.core.runtime.content.IContentType contentType)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
equalsIgnoreCaseOfSpec
public boolean equalsIgnoreCaseOfSpec(CFileTypeAssociation other)
getContentType
public org.eclipse.core.runtime.content.IContentType getContentType()
- Returns:
- Returns the fSettings.
getSpec
public java.lang.String getSpec()
- Returns:
- Returns the fSpec.
getPattern
public java.lang.String getPattern()
isFileSpec
public boolean isFileSpec()
isExtSpec
public boolean isExtSpec()
isPredefined
public boolean isPredefined()
isUserDefined
public boolean isUserDefined()
getDescription
public java.lang.String getDescription()
- Returns:
- Returns the description.
getFileSpecType
public int getFileSpecType()
- Returns
IContentType.FILE_NAME_SPEC
or IContentType.FILE_EXTENSION_SPEC
.