TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.core.history
Interface AnalysisHistoryListener

All Known Implementing Classes:
CodeReviewResult, ResultsFrameView, ResultViewDefault

public interface AnalysisHistoryListener

A listener interface for history activity. Any class that wants to listen for history event can implement this interface and add itself as a history listener


Field Summary
static int HISTORY_ANALYSIS_ENDED
          Event id sent when analysis has finished
static int HISTORY_ANALYSIS_REMOVED
          Event id sent when analysis history is about to be removed
static int HISTORY_ANALYSIS_STARTED
          Event id sent when analysis has been started
static int HISTORY_ANALYSIS_UPDATED
          Event id sent when analysis history has been updated
 
Method Summary
 void historyEvent(AnalysisHistory history, int eventId)
          History event handle.
 

Field Detail

HISTORY_ANALYSIS_STARTED

public static final int HISTORY_ANALYSIS_STARTED
Event id sent when analysis has been started

See Also:
Constant Field Values

HISTORY_ANALYSIS_ENDED

public static final int HISTORY_ANALYSIS_ENDED
Event id sent when analysis has finished

See Also:
Constant Field Values

HISTORY_ANALYSIS_UPDATED

public static final int HISTORY_ANALYSIS_UPDATED
Event id sent when analysis history has been updated

See Also:
Constant Field Values

HISTORY_ANALYSIS_REMOVED

public static final int HISTORY_ANALYSIS_REMOVED
Event id sent when analysis history is about to be removed

See Also:
Constant Field Values
Method Detail

historyEvent

public void historyEvent(AnalysisHistory history,
                         int eventId)
History event handle. Implement this method in history listener classes

Parameters:
history - The analysis history where the event occurred
eventId - The id of the event that occurred (HISTORY_ANALYSIS_STARTED, HISTORY_ANALYSIS_ENDED, HISTORY_ANALYSIS_UPDATED)

TPTP 4.4.0 Platform Project
Public API Specification