[
https://issues.jboss.org/browse/JBIDE-21352?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-21352 at 12/17/15 10:39 AM:
---------------------------------------------------------------------
The reason is that we're querying the global selection which might be switched over
from project explorer to ex. OpenShift Explorer (when we focused it - meanwhile the
project explorer kept it's selection).
To solve this we should simply query a specific set of explorers that we know of to list
the workspace projects:
* package explorer: org.eclipse.jdt.ui.PackageExplorer
* project explorer: org.eclipse.ui.navigator.ProjectExplorer
* resource navigator: org.eclipse.ui.views.ResourceNavigator
was (Author: adietish):
The reason is that we're querying the global selection which might be switched over
from project explorer to ex. OpenShift Explorer (when we focused it - meanwhile the
project explorer kept it's selection).
To solve this we should simply query a specific set of explorers that we know of to list
the workspace projects:
* package explorer: org.eclipse.jdt.ui.PackageExplorer
* project explorer: org.eclipse.ui.navigator.ProjectExplorer
* navigator: org.eclipse.ui.views.ResourceNavigator
OpenShift Server Adapter: New server adapter could use preselected
project from project explorer
------------------------------------------------------------------------------------------------
Key: JBIDE-21352
URL:
https://issues.jboss.org/browse/JBIDE-21352
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.3.1.Beta1
Reporter: Marián Labuda
Assignee: Andre Dietisheim
Labels: openshift_v3, server_adapter_wizard
Fix For: 4.3.1.Beta2, 4.4.0.Alpha1
It would be nice if wizard to create a new OpenShift 3 server adapter would use
preselected project from Project explorer, if it is opened and selected. Currently it uses
first eclipse project.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)