Having the following class -
public class GUIclass1 extends org.eclipse.swt.widgets.Composite {
private void initGUI() {
{
openButton = new Button(this, SWT.PUSH | SWT.CENTER);
openButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
foo() ;
}
});
}
}
public void foo() {
}
}
As you can see in addSelectionListener, there is a method call foo().
My question is: which link should I write as a prefix for foo(), to find out which class it foo()belongs to.
I tried super().foo()without success.
URL87 source
share