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 |
---|---|
org.eclipse.core.runtime.content.IContentType[] |
getAffectedContentTypes()
Returns an array of IContentTypes for which mappings have been changed, or an empty collection
if there are no affected content types.
|
org.eclipse.core.resources.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.
|
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.
|
org.eclipse.core.runtime.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.
|
org.eclipse.core.resources.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
org.eclipse.core.resources.IFile getFile()
String getFilename()
getProject()
org.eclipse.core.runtime.IPath getPath()
getProject()
org.eclipse.core.resources.IProject getProject()
int getType()
TYPE_WORKSPACE
,
TYPE_PROJECT
,
TYPE_FILE
org.eclipse.core.runtime.content.IContentType[] getAffectedContentTypes()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.