[
https://jira.jboss.org/jira/browse/JBIDE-2612?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-2612:
----------------------------------------------
When view-id of a virtual node does not contain EL, the matching actual node is unique,
and it will not overload diagram to show it.
In case of EL in view-id, any actual node can be target, and it is no use to draw all
links. However, I think it may be useful to allow user
to draw links from such virtual nodes to actual nodes. In this way user can design diagram
according to his knowledge of possible
results of EL. These virtual links, will be stored with layout without affecting
pages.xml, and can be edited/removed as actual links.
we should bring back "virtual nodes" in pages.xml
-------------------------------------------------
Key: JBIDE-2612
URL:
https://jira.jboss.org/jira/browse/JBIDE-2612
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Reporter: Max Rydahl Andersen
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.0.0.beta1
I think I was wrong in
https://jira.jboss.org/jira/browse/JBIDE-2283
Not showing the "virtual node(s)" makes it hard to actually visualize what is
in the file and it also removes the natural place for having operations that could work on
the virtual nodes. (e.g. by virtual nodes I mean redirects that does not point to an
viewid that exists in the pages.xml)
Here is my suggestion(s):
1) Bring back what was before JBIDE-2283 with respect to routing (keep the code that can
find the proper real document)
2) Visualize the "virtual nodes" so they look different than "real"
nodes (e.g. draw them with a dotted line instead of a solid line)
When we have that we can start adding operations on those virtual nodes, e.g. Go to node
would show possible matching pages and the user can select that ones he wants,
"Create node" would create a page that would match the view-id (have to replace
EL expression with something meaningfull -etc.
It might also make sense to draw a line from the virtual node to the actual nodes that
matches (e.g. possible paths) but I think that will overload the layout if it is always
drawn. Maybe only draw those lines (with a different color) when such a node is selected ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira