use of org.eclipse.ui.internal.services.INestable in project tdi-studio-se by Talend.
the class MultiPageSqlBuilderEditor method createPartControl2.
public final void createPartControl2(Composite parent) {
//super.createPartControl(parent);
Composite pageContainer = createPageContainer(parent);
this.container = createContainer(pageContainer);
createPages();
// done
if (getActivePage() == -1) {
setActivePage(0);
IEditorPart part = getEditor(0);
if (part != null) {
final IServiceLocator serviceLocator = part.getEditorSite();
if (serviceLocator instanceof INestable) {
activeServiceLocator = (INestable) serviceLocator;
activeServiceLocator.activate();
}
}
}
}
Aggregations