Имея следующий класс -
public class GUIclass1 extends org.eclipse.swt.widgets.Composite {
private void initGUI() {
{
// The setting of the open file button.
openButton = new Button(this, SWT.PUSH | SWT.CENTER);
openButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
foo() ;
}
});
}
}
public void foo() {
// implementation ..
}
}
Как вы можете видеть, в addSelectionListener
есть вызов метода foo()
.
Мой вопрос: какую ссылку я должен написать в качестве префикса для foo()
, чтобы узнать, какой класс foo()
относится к .
Я пытался super().foo()
безуспешно.