public static final class IContentTypeManager.ContentTypeChangeEvent extends EventObject
Types of changes include a change in the file associations or a change in the encoding setting.
source| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
getSource, toStringpublic 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 nullpublic IContentType getContentType()
public IScopeContext getContext()
null, if the change happened in the content type manager
default context.nullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.