use of org.talend.commons.ui.html.BrowserDynamicPartLocationListener in project tmdm-studio-se by Talend.
the class MDMStartingEditor method createPartControl.
@Override
public void createPartControl(Composite parent) {
try {
browser = new Browser(parent, SWT.NONE);
browser.setText(MDMStartingHelper.getHelper().getHtmlContent());
browser.addLocationListener(new BrowserDynamicPartLocationListener());
return;
} catch (IOException e) {
ExceptionHandler.process(e);
} catch (Throwable t) {
// $NON-NLS-1$
Exception ex = new Exception("The internal web browser can not be access,the starting page won't be displayed");
ExceptionHandler.process(ex);
}
}
use of org.talend.commons.ui.html.BrowserDynamicPartLocationListener in project tesb-studio-se by Talend.
the class EsbStartingBrowser method createPartControl.
@Override
public void createPartControl(Composite parent) {
try {
browser = new Browser(parent, SWT.NONE);
browser.setText(EsbStartingHelper.getHelper().getHtmlContent());
browser.addLocationListener(new BrowserDynamicPartLocationListener());
} catch (IOException e) {
ExceptionHandler.process(e);
} catch (Throwable t) {
Exception ex = new Exception("The internal web browser can not be access,the starting page won't be displayed");
ExceptionHandler.process(ex);
}
}
use of org.talend.commons.ui.html.BrowserDynamicPartLocationListener in project tdi-studio-se by Talend.
the class TutorialsDialog method createDialogArea.
@Override
protected Control createDialogArea(final Composite parent) {
browser = new Browser(parent, SWT.NONE);
try {
browser.setText(TutorialsHelper.getHelper().getHtmlContent());
} catch (IOException e) {
CommonExceptionHandler.process(e);
}
browser.addLocationListener(new BrowserDynamicPartLocationListener());
return parent;
}
Aggregations