public class CommandLinkHandler extends SelectionAdapter
ISelectionListener
for Link
s that executes the command
referenced in the link. Use the command ID as the href value in the link.
Link importLink = new Link(parent, SWT.NONE); importLink.setText("• Use the <a href=\"info.textgrid.lab.core.importexport.import\">Import</a> tool."); importLink.addSelectionListener(new CommandLinkHandler());
Constructor and Description |
---|
CommandLinkHandler() |
Modifier and Type | Method and Description |
---|---|
void |
widgetSelected(SelectionEvent e) |
widgetDefaultSelected
public void widgetSelected(SelectionEvent e)
widgetSelected
in interface SelectionListener
widgetSelected
in class SelectionAdapter