[jbosstools-issues] [JBoss JIRA] (JBIDE-21422) Server adapter editor: details should be editable

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Jan 27 18:43:00 EST 2016


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

Viacheslav Kabanovich commented on JBIDE-21422:
-----------------------------------------------

Server settings wizard fragment saves data both to server and project.
Server settings editor section may store data to server working copy at editing, and update the project in doSave() which is called when the editor is saved.
If editor is closed without saving, server working copy is discarded, and doSave() is not called, so that server/project data will remain consistent.

OpenShiftServerEditorSection.createControls will add a property change listener to the model after all controls are created. The listener will set an appropriate attribute for a changed property on server working copy with ServerWorkingCopyPropertyCommand, for which methods undo() and redo() should be overridden to disable property change listener instead of widget listener.
[~adietish], do you think that may work, or I have something missing in the logic?

> Server adapter editor: details should be editable
> -------------------------------------------------
>
>                 Key: JBIDE-21422
>                 URL: https://issues.jboss.org/browse/JBIDE-21422
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.3.1.Beta1
>            Reporter: Marián Labuda
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.3.1.CR1
>
>
> Currently when I open a server adapter overview (by double click on a server adapter) there is whole section of details to which project it is bind to, paths etc. in the Project Settings section. This area is not editable. It would be nice to allow user modify this, to allow to choose different eclipse project or fix path if it was filled in wrong...



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list