[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7090) SWTBot test org.jboss.tools.vpe.ui.bot.test.wizard.ExternalizeStringsDialogTest.estEmptySelectionInExternalizeStringsDialog() is failing

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Fri Oct 15 10:34:39 EDT 2010


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

Denis Maliarevich commented on JBIDE-7090:
------------------------------------------

For the empty selection the dialog will try to get the appropriate text by itself. I think it is a useful and convenient feature. For instance, 
1) when the cursor is in the text field and user clicks the toolbar button -- the whole text will be selected. 
2) when the cursor is in the attribute key and user clicks the toolbar button  --- the attribute's value will be selected.

When the empty selection is incorrect -- the toolbar button will be disabled.
When the selection is not empty -- only selected text will be externalized.

> SWTBot test org.jboss.tools.vpe.ui.bot.test.wizard.ExternalizeStringsDialogTest.estEmptySelectionInExternalizeStringsDialog() is failing
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7090
>                 URL: https://jira.jboss.org/browse/JBIDE-7090
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.2.0.M2
>         Environment: Linux 32bit Java Sun JDK 1.6 JBDS 4.0.0.v201009142310R-H472-M2
>            Reporter: Vlado Pakan
>            Assignee: Denis Maliarevich
>            Priority: Minor
>             Fix For: 3.2.0.Beta2
>
>
> Externalize Strings toolbar button is enabled also for empty selection within jsp editor. Should be disabled.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list