Search in sources :

Example 1 with DocumentationCreateWizard

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

the class CreateDocumentationAction method doRun.

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

Aggregations

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