[jbosstools-issues] [JBoss JIRA] (JBIDE-21352) OpenShift Server Adapter: New server adapter could use preselected project from project explorer

Andre Dietisheim (JIRA) issues at jboss.org
Thu Dec 17 08:55:00 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-21352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142454#comment-13142454 ] 

Andre Dietisheim commented on JBIDE-21352:
------------------------------------------

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:

* navigator: org.eclipse.ui.views.ResourceNavigator
* project explorer: org.eclipse.ui.navigator.ProjectExplorer
* package explorer: org.eclipse.jdt.ui.PackageExplorer



> 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)



More information about the jbosstools-issues mailing list