[
https://jira.jboss.org/jira/browse/JBIDE-4226?page=com.atlassian.jira.plu...
]
Yura Zhishko commented on JBIDE-4226:
-------------------------------------
Yes, Max, it's correct. Context menu for source path will be the same as before. I
don't see any reasons to make visual and source context menu absolutely equal, i. e.
to add Parent Tag, Select This Tag, ...Attributes for the source path. User can see full
tree source structure and define every tag's selection by himself. Even if he want to
make fast selection of Parent Tag he can use toolbar and Properties View to view and edit
selected tag (SourceEditing screenshot).
We had no only Parent Tag for the plain text on the Visual Pain before as had been
said in description. I think that the main functionality of context menu is pretty good
for now. Issue will be closed.
Two different implementations of the VPE context menu
-----------------------------------------------------
Key: JBIDE-4226
URL:
https://jira.jboss.org/jira/browse/JBIDE-4226
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.1.GA
Environment: WindowsXP SP2
JBoss Developer Studio
Version: 2.0.0.GA
Build id: jbdevstudio-eap-win32-2.0.0.Alpha1-N200904211931-H52
JRE 1.5_08
Reporter: Aliaksey Nis
Assignee: Yura Zhishko
Fix For: 3.1.0.M1
Attachments: SourceEditing.jpg, VPEscreen1.JPG, VPEscreen2.JPG
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Now we have two different implementations of context menu - for the VPE and for the text
editor.
The implementation for the VPE is a buggy one, but it has more features (like a parent
tag editing or attributes editing).
We should merge and refactor the code of these two implementations.
The following test case illustrates a bug of the VPE context menu:
EXECUTE: Create JSF project. Open inputusername.jsp
EXECUTE: Insert in Line 15:
<a>teststring</a>
EXECUTE: In Source part - set cursor after "a" letter in "<a>".
In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen1
EXECUTE: In Source part - set cursor after "e" letter in
"teststring". In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen2
EXPECTED RESULT: these menus must be same.
--
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