From jira-events at lists.jboss.org Fri Jul 8 13:09:23 2011 Content-Type: multipart/mixed; boundary="===============3744253188065070047==" MIME-Version: 1.0 From: Daniel Azarov (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9209) Mouse click on error icon in the vertical ruler positioned on the left of the XML/JSP/XHTML editor should show list of quick fixes for that problem Date: Fri, 08 Jul 2011 13:09:23 -0400 Message-ID: <400123434.42772.1310144963834.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1710382683.8573.1308613823639.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============3744253188065070047== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-9209?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:all-tabpanel ] Daniel Azarov updated JBIDE-9209: --------------------------------- Description: = Mouse click on error icon in the vertical ruler positioned on the left of t= he Java editor shows list of quick fixes for that problem. We need to modify our XML/JSP/XHTML editor in order to implement the same f= eature. Test case 1: EXECUTE: 1. Create Seam Web War Project 2. Create Java class: {code} package org.domain.testseam.session; import javax.ejb.Remove; import javax.ejb.Stateful; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Destroy; import org.jboss.seam.annotations.Logger; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.log.Log; @Name("component1") @Stateful @Scope(ScopeType.APPLICATION) public class Component { @Logger private Log log; = = public String statefulComponent() { return "success"; } = @Destroy public void destroyMethod(){ = } = @Remove public void removeMethod(){ = } } {code} 3. Insert next lines to components.xml: {code} value1 {code} 4. Open components.xml in JBOSS Tools XML Editor ASSERT: There is problem marker in "value1" line EXECUTE: Click mouse on error icon on left editor's ruler ASSERT: Window with list of quick fixes appears: !QuickFixesInXML.png! Test case 2: EXECUTE: 1. Open home.xhtml in JBOSS Tools HTML Editor 2. Delete "xmlns:h=3D"http://java.sun.com/jsf/html"" line ASSERT: There is problem marker in "" line EXECUTE: Click mouse on error icon on left editor's ruler ASSERT: Window with list of quick fixes appears Test case 3: EXECUTE: 1. Create hello.jsp page file: {code} <%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> Hello!

, !

{code} ASSERT: There is problem marker in "," line EXECUTE: Click mouse on error icon on left editor's ruler ASSERT: Window with list of quick fixes appears was: Mouse click on error icon in the vertical ruler positioned on the left of t= he Java editor shows list of quick fixes for that problem. We need to modify our XML/JSP/XHTML editor in order to implement the same f= eature. Test case 1: EXECUTE: 1. Create Seam Web War Project 2. Create Java class: {code} package org.domain.testseam.session; import javax.ejb.Remove; import javax.ejb.Stateful; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Destroy; import org.jboss.seam.annotations.Logger; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.log.Log; @Name("component1") @Stateful @Scope(ScopeType.APPLICATION) public class Component { @Logger private Log log; = = public String statefulComponent() { return "success"; } = @Destroy public void destroyMethod(){ = } = @Remove public void removeMethod(){ = } } {code} 3. Insert next lines to components.xml: {code} value1 {code} 4. Open components.xml in JBOSS Tools XML Editor ASSERT: There is problem marker in "value1" line EXECUTE: Click mouse on error icon on left editor's ruler ASSERT: Window with list of quick fixes appears: !QuickFixesInXML.png! Test case2: EXECUTE: 1. Open home.xhtml in JBOSS Tools HTML Editor 2. Delete "xmlns:h=3D"http://java.sun.com/jsf/html"" line ASSERT: There is problem marker in "" line EXECUTE: Click mouse on error icon on left editor's ruler ASSERT: Window with list of quick fixes appears > Mouse click on error icon in the vertical ruler positioned on the left of= the XML/JSP/XHTML editor should show list of quick fixes for that problem > -------------------------------------------------------------------------= -------------------------------------------------------------------------- > > Key: JBIDE-9209 > URL: https://issues.jboss.org/browse/JBIDE-9209 > Project: Tools (JBoss Tools) > Issue Type: Feature Request > Components: jsp/jsf/xml source editing > Reporter: Daniel Azarov > Assignee: Daniel Azarov > Labels: new_and_noteworthy > Fix For: 3.3.x > > Attachments: QuickFixesInHTML.png, QuickFixesInJSP.png, QuickFixe= sInXML.png > > > Mouse click on error icon in the vertical ruler positioned on the left of= the Java editor shows list of quick fixes for that problem. > We need to modify our XML/JSP/XHTML editor in order to implement the same= feature. > Test case 1: > EXECUTE: > 1. Create Seam Web War Project > 2. Create Java class: > {code} > package org.domain.testseam.session; > import javax.ejb.Remove; > import javax.ejb.Stateful; > import org.jboss.seam.ScopeType; > import org.jboss.seam.annotations.Destroy; > import org.jboss.seam.annotations.Logger; > import org.jboss.seam.annotations.Name; > import org.jboss.seam.annotations.Scope; > import org.jboss.seam.log.Log; > @Name("component1") > @Stateful > @Scope(ScopeType.APPLICATION) > public class Component { > @Logger private Log log; > = > = > public String statefulComponent() > { > return "success"; > } > = > @Destroy > public void destroyMethod(){ > = > } > = > @Remove > public void removeMethod(){ > = > } > } > {code} > 3. Insert next lines to components.xml: > {code} > > value1 > > {code} > 4. Open components.xml in JBOSS Tools XML Editor > ASSERT: There is problem marker in "value1" line > EXECUTE: Click mouse on error icon on left editor's ruler > ASSERT: Window with list of quick fixes appears: > !QuickFixesInXML.png! > Test case 2: > EXECUTE: > 1. Open home.xhtml in JBOSS Tools HTML Editor > 2. Delete "xmlns:h=3D"http://java.sun.com/jsf/html"" line > ASSERT: There is problem marker in "" line > EXECUTE: Click mouse on error icon on left editor's ruler > ASSERT: Window with list of quick fixes appears > Test case 3: > EXECUTE: > 1. Create hello.jsp page file: > {code} > <%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> > > > > Hello! > > > >

> , > ! >

>
> > > {code} > ASSERT: There is problem marker in "," line > EXECUTE: Click mouse on error icon on left editor's ruler > ASSERT: Window with list of quick fixes appears -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3744253188065070047==--