フォロークラスを持っている -
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
ように、 method への呼び出しがありfoo()
ます。
foo()
私の質問は、どのクラスがfoo()
に関連しているかを知るために、接頭辞としてどの参照を書くべきかということです。
私はsuper().foo()
成功しなかった。