File size: 627 Bytes
e789b06 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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> |