[
https://issues.jboss.org/browse/JBIDE-9910?page=com.atlassian.jira.plugin...
]
Viacheslav Kabanovich commented on JBIDE-9910:
----------------------------------------------
1. Method is added: SeamExpressionResolver.MessagesInfo.getPropertiesMap(), it returns
Map<String, List<XModelObject>> - mapping of property name to all model
objects that represent it, for all locales and all bundles.
2. Method is modified: SeamELCompletionEngine.processSingularMember() - now it creates
MessagesELTextProposal instead of simpleTextProposal, and puts into it model objects that
represent property.
However, this method is called by AbstractELCompletionEngine.resolveLastSegment(), which
creates JavaMemberELSegmentImpl and in our case we need MessagePropertyELSegmentImpl. So,
I tried to overload method resolveLastSegment():
3. Method is added: SeamELCompletionEngine.resolveLastSegment() it checks that last
segment is property of 'messages' component and then calls
SeamELCompletionEngine.resolveLastSegmentInMessages()
As a result, open-on now works for seam 2 messages.
Victor, please look at it, probably something is not ok yet.
Proposal info for message bundles in code completion for EL
-----------------------------------------------------------
Key: JBIDE-9910
URL:
https://issues.jboss.org/browse/JBIDE-9910
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.3.0.Beta1
It would be nice if we show an info window for EL proposals for message bundles. The same
info what we show in tooltips. See JBIDE-9731 for details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira