|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.core.runtime.content.IContentTypeManager.ContentTypeChangeEvent
An event object which describes the details of a change to a content type.
Types of changes include a change in the file associations or a change in the encoding setting.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
IContentTypeManager.ContentTypeChangeEvent(IContentType source)
Constructor for a new content type change event. |
|
IContentTypeManager.ContentTypeChangeEvent(IContentType source,
IScopeContext context)
Constructor for a new content type change event. |
Method Summary | |
---|---|
IContentType |
getContentType()
Return the content type object associated with this change event. |
IScopeContext |
getContext()
Return the preference scope where the setting changed, or null , if the change happened in the content type manager
default context. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IContentTypeManager.ContentTypeChangeEvent(IContentType source)
source
- the content type that changedpublic IContentTypeManager.ContentTypeChangeEvent(IContentType source, IScopeContext context)
source
- the content type that changedcontext
- the context where a setting changed, or null
Method Detail |
public IContentType getContentType()
public IScopeContext getContext()
null
, if the change happened in the content type manager
default context.
null
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.