|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.cdt.core.model.LanguageMappingChangeEvent
public class LanguageMappingChangeEvent
A minimal implementation of ILanguageMappingsChangeEvent.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.cdt.core.model.ILanguageMappingChangeEvent |
|---|
TYPE_FILE, TYPE_PROJECT, TYPE_WORKSPACE |
| Constructor Summary | |
|---|---|
LanguageMappingChangeEvent()
|
|
| Method Summary | |
|---|---|
IContentType[] |
getAffectedContentTypes()
Returns an array of IContentTypes for which mappings have been changed, or an empty collection if there are no affected content types. |
IFile |
getFile()
Returns an IFile corresponding to the file for which settings have changed if this event's type is TYPE_FILE, or null otherwise. |
java.lang.String |
getFilename()
Returns a String corresponding to the full path to the file for which settings have changed if this event's type is TYPE_FILE, or null otherwise. |
IPath |
getPath()
Returns an IPath corresponding to the file for which settings have changed if this event's type is TYPE_FILE, or null otherwise. |
IProject |
getProject()
Returns an IProject corresponding to the project for which settings have changed if this event's type is TYPE_PROJECT or TYPE_FILE, or null otherwise. |
int |
getType()
Returns the type of even being reported. |
void |
setAffectedContentTypes(IContentType[] affectedContentTypes)
Sets the associated IContentTypes for this event. |
void |
setFile(IFile file)
Sets the associated IFile for this event. |
void |
setFileName(java.lang.String fileName)
Sets the associated String filename for this event. |
void |
setPath(IPath path)
Sets the associated IPath for this event. |
void |
setProject(IProject project)
Sets the associated project for this event. |
void |
setType(int type)
Sets the type of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageMappingChangeEvent()
| Method Detail |
|---|
public IContentType[] getAffectedContentTypes()
ILanguageMappingChangeEvent
getAffectedContentTypes in interface ILanguageMappingChangeEventpublic IFile getFile()
ILanguageMappingChangeEvent
getFile in interface ILanguageMappingChangeEventpublic java.lang.String getFilename()
ILanguageMappingChangeEvent
getFilename in interface ILanguageMappingChangeEventILanguageMappingChangeEvent.getProject()public IPath getPath()
ILanguageMappingChangeEvent
getPath in interface ILanguageMappingChangeEventILanguageMappingChangeEvent.getProject()public IProject getProject()
ILanguageMappingChangeEvent
getProject in interface ILanguageMappingChangeEventpublic int getType()
ILanguageMappingChangeEvent
getType in interface ILanguageMappingChangeEventILanguageMappingChangeEvent.TYPE_WORKSPACE,
ILanguageMappingChangeEvent.TYPE_PROJECT,
ILanguageMappingChangeEvent.TYPE_FILEpublic void setAffectedContentTypes(IContentType[] affectedContentTypes)
affectedContentTypes - public void setFile(IFile file)
file - the IFile to setpublic void setFileName(java.lang.String fileName)
fileName - the fFileName to setpublic void setPath(IPath path)
path - the IPath to setpublic void setProject(IProject project)
project - the IProject to setpublic void setType(int type)
type - the type to setILanguageMappingChangeEvent.TYPE_WORKSPACE,
ILanguageMappingChangeEvent.TYPE_PROJECT,
ILanguageMappingChangeEvent.TYPE_FILE
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||