|
TDAT: protected void addControllerErrorListener() { |
|
ITkuiController controller = tkuiDocument.getController(); |
|
if (controller != null |
|
&& this.getContainer() instanceof ITkuiWizardContainer) { |
|
final ITkuiWizardContainer tkuiContainer = (ITkuiWizardContainer) this |
|
.getContainer(); |
|
final ITkuiWizardPage page = this; |
|
controller |
|
.addControllerErrorListener(new ITkuiControllerErrorListener() { |
|
public void errorThrowed(Exception e) { |
|
tkuiContainer.addControllerError(page, e); |
|
} |
|
}); |
|
} |
|
} |
|
COM: <s> add controller error listner to display icon with error when controller </s> |
|
|
|
|