use of org.eclipse.jface.dialogs.IPageChangedListener in project tdi-studio-se by Talend.
the class AbstractDumpEditor method createPages.
/*
* @see MultiPageEditorPart#createPages()
*/
@Override
protected final void createPages() {
createClientPages();
createInfoPage();
addPageChangedListener(new IPageChangedListener() {
@Override
public void pageChanged(PageChangedEvent event) {
if (event.getSelectedPage().equals(infoPage)) {
infoPage.focusCommnentsText();
}
}
});
resourceChangeListener = new ResourceChangeListener();
ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener);
}
Aggregations