Search in sources :

Example 1 with DocumentationUpdateWizard

use of org.talend.metadata.managment.ui.wizard.documentation.DocumentationUpdateWizard in project tdi-studio-se by Talend.

the class UpdateDocumentationAction method doRun.

/*
     * (non-Javadoc)
     * 
     * @see org.eclipse.jface.action.Action#run()
     */
@Override
protected void doRun() {
    RepositoryNode node = (RepositoryNode) ((IStructuredSelection) getSelection()).getFirstElement();
    DocumentationUpdateWizard docWizard = new DocumentationUpdateWizard(PlatformUI.getWorkbench(), node.getObject(), getPath());
    WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), docWizard);
    dlg.open();
}
Also used : RepositoryNode(org.talend.repository.model.RepositoryNode) WizardDialog(org.eclipse.jface.wizard.WizardDialog) DocumentationUpdateWizard(org.talend.metadata.managment.ui.wizard.documentation.DocumentationUpdateWizard)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 DocumentationUpdateWizard (org.talend.metadata.managment.ui.wizard.documentation.DocumentationUpdateWizard)1 RepositoryNode (org.talend.repository.model.RepositoryNode)1