Eclipse Platform
2.1

Serialized Form


Package org.eclipse.ant.core

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


Package org.eclipse.core.runtime

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

Serialized Fields

status

IStatus status
Status object.

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

Class org.eclipse.core.runtime.Preferences.PropertyChangeEvent 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.debug.core

Class org.eclipse.debug.core.DebugEvent 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 implements Serializable


Package org.eclipse.jface.resource

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


Package org.eclipse.jface.text

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

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


Package org.eclipse.jface.util

Class org.eclipse.jface.util.PropertyChangeEvent 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 implements Serializable

Serialized Fields

element

Object element
The viewer element.

state

boolean state
The checked state.

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

Serialized Fields

selection

ISelection selection
The selection.

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

Serialized Fields

elements

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

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

Serialized Fields

selection

ISelection selection
The selection.

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

Serialized Fields

selection

ISelection selection
The selection.

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

Serialized Fields

element

Object element
The element that was expanded or collapsed.


Package org.eclipse.swt

Class org.eclipse.swt.SWTError implements Serializable

Serialized Fields

code

int code

throwable

Throwable throwable

Class org.eclipse.swt.SWTException implements Serializable

Serialized Fields

code

int code

throwable

Throwable throwable


Package org.eclipse.swt.accessibility

Class org.eclipse.swt.accessibility.AccessibleControlEvent 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 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.


Package org.eclipse.swt.custom

Class org.eclipse.swt.custom.BidiSegmentEvent 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 implements Serializable

Serialized Fields

item

Widget item

doit

boolean doit

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

Serialized Fields

start

int start

length

int length

replacedText

String replacedText

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

Serialized Fields

lineOffset

int lineOffset

lineText

String lineText

lineBackground

Color lineBackground

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

Serialized Fields

lineOffset

int lineOffset

lineText

String lineText

styles

StyleRange[] styles

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

Class org.eclipse.swt.custom.TextChangingEvent 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 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 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 implements Serializable

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

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

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

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

Class org.eclipse.swt.events.KeyEvent 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 (NUL). 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

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

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

Class org.eclipse.swt.events.MouseEvent 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 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 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.

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

Serialized Fields

doit

boolean doit
a flag indicating whether the operation should be allowed

Class org.eclipse.swt.events.TraverseEvent 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 taked. The traversal detail, in conjuction with the doit field can be useful when overriding the default traversal mechanism for a control.

doit

boolean doit
A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation and allow the traversal key stroke to be delivered to the control. A value of true indicates that the traversal, described by the traversal detail is to be performed.

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

Class org.eclipse.swt.events.TypedEvent 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 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.

doit

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


Package org.eclipse.swt.graphics

Class org.eclipse.swt.graphics.ImageLoaderEvent 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 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 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 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 implements Serializable

Serialized Fields

status

IStatus status


Package org.eclipse.ui

Class org.eclipse.ui.PartInitException implements Serializable

Class org.eclipse.ui.WorkbenchException implements Serializable


Package org.eclipse.ui.texteditor

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


Package org.eclipse.update.core.model

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

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

Serialized Fields

newSiteType

String newSiteType


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.