TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.trace.ui
Class ProfileEvent

java.lang.Object
  extended by org.eclipse.hyades.trace.ui.ProfileEvent

public final class ProfileEvent
extends java.lang.Object

A profile event describes an event in an application being profiled

The getSource() method of a profile event returns the element associated with the event.

The getType() method of a profile event returns the type of the event.

Clients may instantiate this class. Clients are not intended to subclass this class.


Field Summary
static int ATTACH
          Attach event type
static int CLEAN_UP
          Cleanup the actions
static int COLLECTING
          Collecting event type
static int CONTEXT_HANDLER_SELECTION_CHANGED
          Refreshes the views with the notification that the context handler selection changed.
static int DETACH
          Detach event type
static int REFRESH_LOG_NAVIGATOR
          Refreshes Log Navigator
static int REFRESH_NAVIGATORS
          Refreshes Navigators
static int REFRESH_OPTION
          RefreshOption event type
static int REFRESH_PD_EXPLORER
          Refreshes PD Explorer
static int REFRESH_VIEWS
          RefreshViews event type
static int SELECTION_CHANGED
          Selection changed event type
static int START_MONITOR
          Start Monitoring event type
static int STOP_COLLECTING
          Stop collecting event type
static int STOP_MONITOR
          Stop Monitoring event type
static int TERMINATE
          Terminate event type
static int UNSPECIFIED
          Unspecified event type
static int UPDATE_DELTA_TIME
          Update node delta time event type
static int UPDATE_MODEL
          Update Model event type
 
Constructor Summary
ProfileEvent()
          Constructs a default event, with no type and data specified
ProfileEvent(int eventType)
          Constructs an event with a specified type
 
Method Summary
 java.lang.Object getSource()
          Return the source of this event
 int getType()
          Returns this event's type - one of the type constants defined by this class.
 void setSource(java.lang.Object eventSource)
          Set the source of this event
 void setType(int tmpType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_MONITOR

public static final int START_MONITOR
Start Monitoring event type

See Also:
Constant Field Values

STOP_MONITOR

public static final int STOP_MONITOR
Stop Monitoring event type

See Also:
Constant Field Values

ATTACH

public static final int ATTACH
Attach event type

See Also:
Constant Field Values

DETACH

public static final int DETACH
Detach event type

See Also:
Constant Field Values

TERMINATE

public static final int TERMINATE
Terminate event type

See Also:
Constant Field Values

REFRESH_VIEWS

public static final int REFRESH_VIEWS
RefreshViews event type

See Also:
Constant Field Values

REFRESH_OPTION

public static final int REFRESH_OPTION
RefreshOption event type

See Also:
Constant Field Values

UPDATE_MODEL

public static final int UPDATE_MODEL
Update Model event type

See Also:
Constant Field Values

UNSPECIFIED

public static final int UNSPECIFIED
Unspecified event type

See Also:
Constant Field Values

SELECTION_CHANGED

public static final int SELECTION_CHANGED
Selection changed event type

See Also:
Constant Field Values

COLLECTING

public static final int COLLECTING
Collecting event type

See Also:
Constant Field Values

STOP_COLLECTING

public static final int STOP_COLLECTING
Stop collecting event type

See Also:
Constant Field Values

UPDATE_DELTA_TIME

public static final int UPDATE_DELTA_TIME
Update node delta time event type

See Also:
Constant Field Values

CLEAN_UP

public static final int CLEAN_UP
Cleanup the actions

See Also:
Constant Field Values

REFRESH_LOG_NAVIGATOR

public static final int REFRESH_LOG_NAVIGATOR
Refreshes Log Navigator

See Also:
Constant Field Values

REFRESH_PD_EXPLORER

public static final int REFRESH_PD_EXPLORER
Refreshes PD Explorer

See Also:
Constant Field Values

REFRESH_NAVIGATORS

public static final int REFRESH_NAVIGATORS
Refreshes Navigators

See Also:
Constant Field Values

CONTEXT_HANDLER_SELECTION_CHANGED

public static final int CONTEXT_HANDLER_SELECTION_CHANGED
Refreshes the views with the notification that the context handler selection changed.

See Also:
Constant Field Values
Constructor Detail

ProfileEvent

public ProfileEvent()
Constructs a default event, with no type and data specified


ProfileEvent

public ProfileEvent(int eventType)
Constructs an event with a specified type

Parameters:
eventType - the type of the event
Method Detail

getType

public int getType()
Returns this event's type - one of the type constants defined by this class.

Returns:
the event type

setType

public void setType(int tmpType)
Parameters:
tmpType - set the event type - one of the type constants defined by this class.

getSource

public java.lang.Object getSource()
Return the source of this event

Returns:
the source of the event

setSource

public void setSource(java.lang.Object eventSource)
Set the source of this event

Parameters:
eventSource - the source of the event

TPTP 4.6.0 Platform Project
Public API Specification