[jbosstools-issues] [JBoss JIRA] (JBIDE-21885) Properties: Remove "()" from context-menu name of Start Build

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed May 18 15:30:00 EDT 2016


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

Viacheslav Kabanovich commented on JBIDE-21885:
-----------------------------------------------

Actually, if we would care for the parameter to get to the menu label as for example 'Start Build (build config)' we might add to the command definition tag <values> referencing implementation IParameterValues that maps parameter value 'BuildConfig' to human readable 'build config' in order to inform user of it. So, it is a nice feature, but in our case the parameter is an internal matter that we do not want to show to user.
The coding error in ParameterizedCommand is to add "()" when there is nothing to put inside. Attribute 'values' (or tag &lt;values>) is not required so that it is ok that no errors are reported, just when attribute/tag is not defined, nothing should be added to the name.

> Properties: Remove "()" from context-menu name of Start Build 
> --------------------------------------------------------------
>
>                 Key: JBIDE-21885
>                 URL: https://issues.jboss.org/browse/JBIDE-21885
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha1
>         Environment:  JBoss OpenShift 3 Tools	3.2.0.Alpha1-v20160316-2139-B1202
> OS: Fedora 22 & Windows 10
>            Reporter: Xia Zhao
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>              Labels: openshift_v3
>             Fix For: 4.4.0.Alpha2
>
>         Attachments: build-config-properties-menu.png, start-build.png
>
>
> The  "()" from context-menu name of Start Build should be removed



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


More information about the jbosstools-issues mailing list