|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tool
Interface for pluggable tools.
All tools implementing this interface that are added to the tools class list will be automatically added to the tools menu in the client.
Method Summary | |
---|---|
java.lang.String |
getName()
Is called to get the name for the menu entry. |
void |
init(java.awt.Frame frame)
Performs tool initialization. |
CapturedData |
process(CapturedData data)
This method is invoked when the tool is selected from the Tools menu. |
CapturedData |
process(CapturedData data,
int group,
int channel,
int position)
This method is invoked when the tool is selected from the context menu after right clicking someplace in the diagram. |
Method Detail |
---|
java.lang.String getName()
void init(java.awt.Frame frame)
frame
- main window's frame (needed for modal dialogs)CapturedData process(CapturedData data)
data
- currently displayed captured data
CapturedData
if provided data has been altered or null
otherwiseCapturedData process(CapturedData data, int group, int channel, int position)
data
- currently displayed captured datagroup
- channel group at the mouse position where the menu was openendchannel
- number of channel at the mouse position where the menu was openendposition
- number of sample at the mouse position where the menu was openend
CapturedData
if provided data has been altered or null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |