org.sourcejammer.client.plugin
Interface SJClientFileEvent

All Superinterfaces:
SJClientEvent
All Known Implementing Classes:
SJClientFileEventImpl

public interface SJClientFileEvent
extends SJClientEvent

Title: $FileName: SJClientFileEvent.java$

Version:
$VerNum: 5$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Method Summary
 org.sourcejammer.project.view.NodeInfo getFile()
          Returns NodeInfo object for file affected by the event.
 
Methods inherited from interface org.sourcejammer.client.plugin.SJClientEvent
addObjectToRequest, getGUIContext, getSource, getTiming
 

Method Detail

getFile

public org.sourcejammer.project.view.NodeInfo getFile()
Returns NodeInfo object for file affected by the event. For BEFORE_EVENT and AFTER_EVENT, this will return null. Use GUIContext.getSelectedFilesNodeInfo() to determine which files are currently selected.

This method tells exactly which file is being operated against on each request/response (which should always act on one file at a time).



Copyright 2003 Soucejammer project.