public interface ILanguageMappingChangeEvent
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_FILE |
static int |
TYPE_PROJECT |
static int |
TYPE_WORKSPACE |
Modifier and Type | Method and Description |
---|---|
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.
|
static final int TYPE_WORKSPACE
static final int TYPE_PROJECT
static final int TYPE_FILE
IFile getFile()
java.lang.String getFilename()
getProject()
IPath getPath()
getProject()
IProject getProject()
int getType()
TYPE_WORKSPACE
,
TYPE_PROJECT
,
TYPE_FILE
IContentType[] getAffectedContentTypes()
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.