Eclipse Platform
Release 3.0

Serialized Form


Package org.eclipse.ant.core

Class org.eclipse.ant.core.AntSecurityException extends SecurityException implements Serializable


Package org.eclipse.core.runtime

Class org.eclipse.core.runtime.CoreException extends Exception implements Serializable

Serialized Fields

status

IStatus status
Status object.

Class org.eclipse.core.runtime.OperationCanceledException extends RuntimeException implements Serializable

Class org.eclipse.core.runtime.Preferences.PropertyChangeEvent extends EventObject implements Serializable

Serialized Fields

propertyName

String propertyName
The name of the changed property.


oldValue

Object oldValue
The old value of the changed property, or null if not known or not relevant.


newValue

Object newValue
The new value of the changed property, or null if not known or not relevant.


Package org.eclipse.core.runtime.content

Class org.eclipse.core.runtime.content.IContentTypeManager.ContentTypeChangeEvent extends EventObject implements Serializable


Package org.eclipse.core.runtime.preferences

Class org.eclipse.core.runtime.preferences.IEclipsePreferences.NodeChangeEvent extends EventObject implements Serializable

Serialized Fields

child

Preferences child

Class org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent extends EventObject implements Serializable

Serialized Fields

key

String key

newValue

Object newValue

oldValue

Object oldValue


Package org.eclipse.debug.core

Class org.eclipse.debug.core.DebugEvent extends EventObject implements Serializable

Serialized Fields

fKind

int fKind
The kind of event - one of the kind constants defined by this class.


fDetail

int fDetail
The detail of the event - one of the detail constants defined by this class.


fData

Object fData
Client defined data field.

Since:
2.1.2

Class org.eclipse.debug.core.DebugException extends CoreException implements Serializable


Package org.eclipse.jface.resource

Class org.eclipse.jface.resource.DataFormatException extends IllegalArgumentException implements Serializable


Package org.eclipse.jface.text

Class org.eclipse.jface.text.BadLocationException extends Exception implements Serializable

Class org.eclipse.jface.text.BadPartitioningException extends Exception implements Serializable

Class org.eclipse.jface.text.BadPositionCategoryException extends Exception implements Serializable


Package org.eclipse.jface.text.templates

Class org.eclipse.jface.text.templates.TemplateException extends Exception implements Serializable


Package org.eclipse.jface.util

Class org.eclipse.jface.util.PropertyChangeEvent extends EventObject implements Serializable

Serialized Fields

propertyName

String propertyName
The name of the changed property.


oldValue

Object oldValue
The old value of the changed property, or null if not known or not relevant.


newValue

Object newValue
The new value of the changed property, or null if not known or not relevant.


Package org.eclipse.jface.viewers

Class org.eclipse.jface.viewers.CheckStateChangedEvent extends EventObject implements Serializable

Serialized Fields

element

Object element
The viewer element.


state

boolean state
The checked state.

Class org.eclipse.jface.viewers.DoubleClickEvent extends EventObject implements Serializable

Serialized Fields

selection

ISelection selection
The selection.

Class org.eclipse.jface.viewers.LabelProviderChangedEvent extends EventObject implements Serializable

Serialized Fields

elements

Object[] elements
The elements whose labels need to be updated or null.

Class org.eclipse.jface.viewers.OpenEvent extends EventObject implements Serializable

Serialized Fields

selection

ISelection selection
The selection.

Class org.eclipse.jface.viewers.SelectionChangedEvent extends EventObject implements Serializable

Serialized Fields

selection

ISelection selection
The selection.

Class org.eclipse.jface.viewers.TreeExpansionEvent extends EventObject implements Serializable

Serialized Fields

element

Object element
The element that was expanded or collapsed.


Package org.eclipse.search.ui

Class org.eclipse.search.ui.SearchResultEvent extends EventObject implements Serializable


Package org.eclipse.search.ui.text

Class org.eclipse.search.ui.text.MatchEvent extends SearchResultEvent implements Serializable

Serialized Fields

fKind

int fKind

fMatches

Match[] fMatches

fMatchContainer

Match[] fMatchContainer

Class org.eclipse.search.ui.text.RemoveAllEvent extends SearchResultEvent implements Serializable


Package org.eclipse.swt

Class org.eclipse.swt.SWTError extends Error implements Serializable

Serialized Fields

code

int code
The SWT error code, one of SWT.ERROR_*.


throwable

Throwable throwable
The underlying throwable that caused the problem, or null if this information is not available.

Class org.eclipse.swt.SWTException extends RuntimeException implements Serializable

Serialized Fields

code

int code
The SWT error code, one of SWT.ERROR_*.


throwable

Throwable throwable
The underlying throwable that caused the problem, or null if this information is not available.


Package org.eclipse.swt.accessibility

Class org.eclipse.swt.accessibility.AccessibleControlEvent extends org.eclipse.swt.internal.SWTEventObject implements Serializable

Serialized Fields

childID

int childID

accessible

Accessible accessible

x

int x

y

int y

width

int width

height

int height

detail

int detail

result

String result

children

Object[] children

Class org.eclipse.swt.accessibility.AccessibleEvent extends org.eclipse.swt.internal.SWTEventObject implements Serializable

Serialized Fields

childID

int childID
The value of this field is set by an accessibility client before the accessible listener method is called. ChildID can be CHILDID_SELF, representing the control itself, or a 0-based integer representing a specific child of the control.


result

String result
The value of this field must be set in the accessible listener method before returning. What to set it to depends on the listener method called, and the childID specified by the client.

Class org.eclipse.swt.accessibility.AccessibleTextEvent extends org.eclipse.swt.internal.SWTEventObject implements Serializable

Serialized Fields

childID

int childID

offset

int offset

length

int length


Package org.eclipse.swt.browser

Class org.eclipse.swt.browser.LocationEvent extends TypedEvent implements Serializable

Serialized Fields

location

String location
current location


top

boolean top
A flag indicating whether the location opens in the top frame or not.


doit

boolean doit
A flag indicating whether the location loading should be allowed. Setting this field to false will cancel the operation.

Class org.eclipse.swt.browser.ProgressEvent extends TypedEvent implements Serializable

Serialized Fields

current

int current
current value


total

int total
total value

Class org.eclipse.swt.browser.StatusTextEvent extends TypedEvent implements Serializable

Serialized Fields

text

String text
status text

Class org.eclipse.swt.browser.TitleEvent extends TypedEvent implements Serializable

Serialized Fields

title

String title
the title of the current document

Class org.eclipse.swt.browser.WindowEvent extends TypedEvent implements Serializable

Serialized Fields

browser

Browser browser
Browser provided by the application. Default is null and null will cancel the associated navigation request.


location

Point location
Requested location for the Shell hosting the Browser. It is null if no location has been requested.


size

Point size
Requested client size for the Shell hosting the Browser. It is null if no size has been requested.


Package org.eclipse.swt.custom

Class org.eclipse.swt.custom.BidiSegmentEvent extends TypedEvent implements Serializable

Serialized Fields

lineOffset

int lineOffset
line start offset


lineText

String lineText
line text


segments

int[] segments
bidi segments, see above

Class org.eclipse.swt.custom.CTabFolderEvent extends TypedEvent implements Serializable

Serialized Fields

item

Widget item
The tab item for the operation.


doit

boolean doit
A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation. Applies to the close and showList events.


x

int x
The widget-relative, x coordinate of the chevron button at the time of the event. Applies to the showList event.

Since:
3.0

y

int y
The widget-relative, y coordinate of the chevron button at the time of the event. Applies to the showList event.

Since:
3.0

width

int width
The width of the chevron button at the time of the event. Applies to the showList event. Applies to the showList event.

Since:
3.0

height

int height
The height of the chevron button at the time of the event. Applies to the showList event.

Since:
3.0

Class org.eclipse.swt.custom.ExtendedModifyEvent extends TypedEvent implements Serializable

Serialized Fields

start

int start

length

int length

replacedText

String replacedText

Class org.eclipse.swt.custom.LineBackgroundEvent extends TypedEvent implements Serializable

Serialized Fields

lineOffset

int lineOffset

lineText

String lineText

lineBackground

Color lineBackground

Class org.eclipse.swt.custom.LineStyleEvent extends TypedEvent implements Serializable

Serialized Fields

lineOffset

int lineOffset

lineText

String lineText

styles

StyleRange[] styles

Class org.eclipse.swt.custom.TextChangedEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.custom.TextChangingEvent extends TypedEvent implements Serializable

Serialized Fields

start

int start
Start offset of the text that is going to be replaced


newText

String newText
Text that is going to be inserted or empty string if no text will be inserted


replaceCharCount

int replaceCharCount
Length of text that is going to be replaced


newCharCount

int newCharCount
Length of text that is going to be inserted


replaceLineCount

int replaceLineCount
Number of lines that are going to be replaced


newLineCount

int newLineCount
Number of new lines that are going to be inserted


Package org.eclipse.swt.dnd

Class org.eclipse.swt.dnd.DragSourceEvent extends TypedEvent implements Serializable

Serialized Fields

detail

int detail
The operation that was performed.

See Also:
DND.DROP_NONE, DND.DROP_MOVE, DND.DROP_COPY, DND.DROP_LINK, DND.DROP_TARGET_MOVE

doit

boolean doit
In dragStart, the doit field determines if the drag and drop operation should proceed; in dragFinished, the doit field indicates whether the operation was performed successfully.

In dragStart:

Flag to determine if the drag and drop operation should proceed. The application can set this value to false to prevent the drag from starting. Set to true by default.

In dragFinished:

Flag to indicate if the operation was performed successfully. True if the operation was performed successfully.


dataType

TransferData dataType
The type of data requested. Data provided in the data field must be of the same type.

Class org.eclipse.swt.dnd.DropTargetEvent extends TypedEvent implements Serializable

Serialized Fields

x

int x
The x-cordinate of the cursor relative to the Display


y

int y
The y-cordinate of the cursor relative to the Display


detail

int detail
The operation being performed.

See Also:
DND.DROP_NONE, DND.DROP_MOVE, DND.DROP_COPY, DND.DROP_LINK

operations

int operations
A bitwise OR'ing of the operations that the DragSource can support (e.g. DND.DROP_MOVE | DND.DROP_COPY | DND.DROP_LINK). The detail value must be a member of this list or DND.DROP_NONE.

See Also:
DND.DROP_NONE, DND.DROP_MOVE, DND.DROP_COPY, DND.DROP_LINK

feedback

int feedback
A bitwise OR'ing of the drag under effect feedback to be displayed to the user (e.g. DND.FEEDBACK_SELECT | DND.FEEDBACK_SCROLL | DND.FEEDBACK_EXPAND).

A value of DND.FEEDBACK_NONE indicates that no drag under effect will be displayed.

Feedback effects will only be applied if they are applicable.

The default value is DND.FEEDBACK_SELECT.

See Also:
DND.FEEDBACK_SELECT, DND.FEEDBACK_INSERT_BEFORE, DND.FEEDBACK_INSERT_AFTER, DND.FEEDBACK_SCROLL, DND.FEEDBACK_EXPAND

item

Widget item
If the associated control is a table or tree, this field contains the item located at the cursor coordinates.


currentDataType

TransferData currentDataType
The type of data that will be dropped.


dataTypes

TransferData[] dataTypes
A list of the types of data that the DragSource is capable of providing. The currentDataType must be a member of this list.


Package org.eclipse.swt.events

Class org.eclipse.swt.events.ArmEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.ControlEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.DisposeEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.FocusEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.HelpEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.KeyEvent extends TypedEvent implements Serializable

Serialized Fields

character

char character
the character represented by the key that was typed. This is the final character that results after all modifiers have been applied. For example, when the user types Ctrl+A, the character value is 0x01. It is important that applications do not attempt to modify the character value based on a stateMask (such as SWT.CTRL) or the resulting character will not be correct.


keyCode

int keyCode
the key code of the key that was typed, as defined by the key code constants in class SWT. When the character field of the event is ambiguous, this field contains the unicode value of the original character. For example, typing Ctrl+M or Return both result in the character '\r' but the keyCode field will also contain '\r' when Return was typed.

See Also:
SWT

stateMask

int stateMask
the state of the keyboard modifier keys at the time the event was generated


doit

boolean doit
A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation.

Class org.eclipse.swt.events.MenuEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.ModifyEvent extends TypedEvent implements Serializable

Class org.eclipse.swt.events.MouseEvent extends TypedEvent implements Serializable

Serialized Fields

button

int button
the button that was pressed or released; 1 for the first button, 2 for the second button, and 3 for the third button, etc.


stateMask

int stateMask
the state of the keyboard modifier keys at the time the event was generated


x

int x
the widget-relative, x coordinate of the pointer at the time the mouse button was pressed or released


y

int y
the widget-relative, y coordinate of the pointer at the time the mouse button was pressed or released

Class org.eclipse.swt.events.PaintEvent extends TypedEvent implements Serializable

Serialized Fields

gc

GC gc
the graphics context to use when painting that is configured to use the colors, font and damaged region of the control. It is valid only during the paint and must not be disposed


x

int x
the x offset of the bounding rectangle of the region that requires painting


y

int y
the y offset of the bounding rectangle of the region that requires painting


width

int width
the width of the bounding rectangle of the region that requires painting


height

int height
the height of the bounding rectangle of the region that requires painting


count

int count
the number of following paint events which are pending which may always be zero on some platforms

Class org.eclipse.swt.events.SelectionEvent extends TypedEvent implements Serializable

Serialized Fields

item

Widget item
The item that was selected.


detail

int detail
Extra detail information about the selection, depending on the widget.

Sash

ScrollBar and Slider

Table, Tree and TableTree

CoolItem and ToolItem


x

int x
The x location of the selected area.


y

int y
The y location of selected area.


width

int width
The width of selected area.


height

int height
The height of selected area.


stateMask

int stateMask
The state of the keyboard modifier keys at the time the event was generated.


doit

boolean doit
A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation, depending on the widget.

Class org.eclipse.swt.events.ShellEvent extends TypedEvent implements Serializable

Serialized Fields

doit

boolean doit
A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation.

Class org.eclipse.swt.events.TraverseEvent extends KeyEvent implements Serializable

Serialized Fields

detail

int detail
The traversal type.

Setting this field will change the type of traversal. For example, setting the detail to TRAVERSE_NONE causes no traversal action to be taken. When used in conjuction with the doit field, the traversal detail field can be useful when overriding the default traversal mechanism for a control. For example, setting the doit field to false will cancel the operation and allow the traversal key stroke to be delivered to the control. Setting the doit field to true indicates that the traversal described by the detail field is to be performed.

Class org.eclipse.swt.events.TreeEvent extends SelectionEvent implements Serializable

Class org.eclipse.swt.events.TypedEvent extends org.eclipse.swt.internal.SWTEventObject implements Serializable

Serialized Fields

display

Display display
the display where the event occurred

Since:
2.0

widget

Widget widget
the widget that issued the event


time

int time
the time that the event occurred. NOTE: This field is an unsigned integer and should be AND'ed with 0xFFFFFFFFL so that it can be treated as a signed long.


data

Object data
a field for application use

Class org.eclipse.swt.events.VerifyEvent extends KeyEvent implements Serializable

Serialized Fields

start

int start
the range of text being modified. Setting these fields has no effect.


end

int end
the range of text being modified. Setting these fields has no effect.


text

String text
the new text that will be inserted. Setting this field will change the text that is about to be inserted or deleted.


Package org.eclipse.swt.graphics

Class org.eclipse.swt.graphics.ImageLoaderEvent extends org.eclipse.swt.internal.SWTEventObject implements Serializable

Serialized Fields

imageData

ImageData imageData
if the endOfImage flag is false, then this is a partially complete copy of the current ImageData, otherwise this is a completely loaded ImageData


incrementCount

int incrementCount
the zero-based count of image data increments -- this is equivalent to the number of events that have been generated while loading a particular image


endOfImage

boolean endOfImage
If this flag is true, then the current image data has been completely loaded, otherwise the image data is only partially loaded, and further ImageLoader events will occur unless an exception is thrown

Class org.eclipse.swt.graphics.Point extends Object implements Serializable

Serialized Fields

x

int x
the x coordinate of the point


y

int y
the y coordinate of the point

Class org.eclipse.swt.graphics.Rectangle extends Object implements Serializable

Serialized Fields

x

int x
the x coordinate of the rectangle


y

int y
the y coordinate of the rectangle


width

int width
the width of the rectangle


height

int height
the height of the rectangle

Class org.eclipse.swt.graphics.RGB extends Object implements Serializable

Serialized Fields

red

int red
the red component of the RGB


green

int green
the green component of the RGB


blue

int blue
the blue component of the RGB


Package org.eclipse.team.core

Class org.eclipse.team.core.TeamException extends CoreException implements Serializable


Package org.eclipse.text.edits

Class org.eclipse.text.edits.MalformedTreeException extends RuntimeException implements Serializable

Serialized Fields

fParent

TextEdit fParent

fChild

TextEdit fChild


Package org.eclipse.ui

Class org.eclipse.ui.PartInitException extends WorkbenchException implements Serializable

Class org.eclipse.ui.WorkbenchException extends CoreException implements Serializable


Package org.eclipse.ui.activities

Class org.eclipse.ui.activities.NotDefinedException extends Exception implements Serializable


Package org.eclipse.ui.commands

Class org.eclipse.ui.commands.CommandException extends Exception implements Serializable

Class org.eclipse.ui.commands.ExecutionException extends CommandException implements Serializable

Class org.eclipse.ui.commands.NotDefinedException extends CommandException implements Serializable

Class org.eclipse.ui.commands.NotHandledException extends CommandException implements Serializable


Package org.eclipse.ui.contexts

Class org.eclipse.ui.contexts.ContextException extends Exception implements Serializable

Class org.eclipse.ui.contexts.NotDefinedException extends ContextException implements Serializable


Package org.eclipse.ui.forms.events

Class org.eclipse.ui.forms.events.ExpansionEvent extends TypedEvent implements Serializable

Class org.eclipse.ui.forms.events.HyperlinkEvent extends TypedEvent implements Serializable

Serialized Fields

label

String label

stateMask

int stateMask


Package org.eclipse.ui.keys

Class org.eclipse.ui.keys.ParseException extends Exception implements Serializable


Package org.eclipse.ui.texteditor

Class org.eclipse.ui.texteditor.ValidateStateException extends CoreException implements Serializable


Package org.eclipse.update.core.model

Class org.eclipse.update.core.model.InstallAbortedException extends CoreException implements Serializable

Class org.eclipse.update.core.model.InvalidSiteTypeException extends Exception implements Serializable

Serialized Fields

newSiteType

String newSiteType


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.