use of org.jkiss.dbeaver.ui.project.EditProjectWizard in project dbeaver by serge-rider.
the class ProjectHandlerImpl method openResource.
@Override
public void openResource(@NotNull IResource resource) {
DBPProject project = DBWorkbench.getPlatform().getWorkspace().getProject((IProject) resource);
if (project == null) {
DBWorkbench.getPlatformUI().showError("No project", "Can't get project metadata for resource " + resource.getName());
return;
}
MultiPageWizardDialog dialog = new MultiPageWizardDialog(UIUtils.getActiveWorkbenchWindow(), new EditProjectWizard(project));
dialog.open();
}
use of org.jkiss.dbeaver.ui.project.EditProjectWizard in project dbeaver by dbeaver.
the class ProjectHandlerImpl method openResource.
@Override
public void openResource(@NotNull IResource resource) {
DBPProject project = DBWorkbench.getPlatform().getWorkspace().getProject((IProject) resource);
if (project == null) {
DBWorkbench.getPlatformUI().showError("No project", "Can't get project metadata for resource " + resource.getName());
return;
}
MultiPageWizardDialog dialog = new MultiPageWizardDialog(UIUtils.getActiveWorkbenchWindow(), new EditProjectWizard(project));
dialog.open();
}
Aggregations