Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.runtime.content
Class IContentTypeManager.ContentTypeChangeEvent


java.lang.Object
  extended by 

java.util.EventObject
      extended by 
org.eclipse.core.runtime.content.IContentTypeManager.ContentTypeChangeEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
IContentTypeManager

public static final class IContentTypeManager.ContentTypeChangeEvent
extends EventObject

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.

See Also:
Serialized Form

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

IContentTypeManager.ContentTypeChangeEvent

public IContentTypeManager.ContentTypeChangeEvent(
IContentType source)
Constructor for a new content type change event.

Parameters:
source - the content type that changed

IContentTypeManager.ContentTypeChangeEvent

public IContentTypeManager.ContentTypeChangeEvent(
IContentType source,
                                                  
IScopeContext context)
Constructor for a new content type change event.

Parameters:
source - the content type that changed
context - the context where a setting changed, or null
Since:
3.1
Method Detail

getContentType

public 
IContentType getContentType()
Return the content type object associated with this change event.

Returns:
the content type

getContext

public 
IScopeContext getContext()
Return the preference scope where the setting changed, or null, if the change happened in the content type manager default context.

Returns:
the context where the change happened, or null
Since:
3.1

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire