use of org.talend.metadata.managment.ui.wizard.context.ContextWizard in project tdi-studio-se by Talend.
the class EditContextAction method doRun.
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.action.Action#run()
*/
@Override
protected void doRun() {
if (repositoryNode == null) {
repositoryNode = getCurrentRepositoryNode();
}
ContextWizard contextWizard = new ContextWizard(PlatformUI.getWorkbench(), false, repositoryNode, false);
WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), contextWizard);
dlg.open();
}
use of org.talend.metadata.managment.ui.wizard.context.ContextWizard in project tdi-studio-se by Talend.
the class ReadContextAction method doRun.
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.action.Action#run()
*/
protected void doRun() {
if (repositoryNode == null) {
repositoryNode = getCurrentRepositoryNode();
}
ContextWizard contextWizard = new ContextWizard(PlatformUI.getWorkbench(), false, repositoryNode, true);
WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), contextWizard);
dlg.open();
RepositoryNode node = (RepositoryNode) ((IStructuredSelection) getSelection()).getFirstElement();
refresh(node);
}
use of org.talend.metadata.managment.ui.wizard.context.ContextWizard in project tdi-studio-se by Talend.
the class CreateContextAction method doRun.
@Override
protected void doRun() {
if (repositoryNode == null) {
repositoryNode = getCurrentRepositoryNode();
}
ContextWizard contextWizard = new ContextWizard(PlatformUI.getWorkbench(), true, repositoryNode, false);
WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), contextWizard);
dlg.open();
RepositoryNode node = (RepositoryNode) ((IStructuredSelection) getSelection()).getFirstElement();
}
Aggregations