Search in sources :

Example 1 with CodeView

use of org.talend.designer.core.ui.views.CodeView in project tdi-studio-se by Talend.

the class ExternalNodeChangeCommand method refreshCodeView.

private void refreshCodeView() {
    IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
    IViewPart view = page.findView(CodeView.ID);
    if (view != null) {
        CodeView codeView = (CodeView) view;
        codeView.refresh();
    }
}
Also used : IViewPart(org.eclipse.ui.IViewPart) IWorkbenchPage(org.eclipse.ui.IWorkbenchPage) CodeView(org.talend.designer.core.ui.views.CodeView)

Aggregations

IViewPart (org.eclipse.ui.IViewPart)1 IWorkbenchPage (org.eclipse.ui.IWorkbenchPage)1 CodeView (org.talend.designer.core.ui.views.CodeView)1