[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8620) Create JSF 2 Composite Component context Menu Item should be available ONLY for JSF2 Projects
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Apr 29 14:18:18 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599156#comment-12599156 ]
Viacheslav Kabanovich commented on JBIDE-8620:
----------------------------------------------
I added util class org.jboss.tools.jsf.project.JSF2Util with method
public static boolean isJSF2(IProject)
It depends only on org.eclipse.jdt and org.eclipse.wst, and will work properly for existing accessible projects.
In AdoptJSFProjectFinisher I have reused it, but also left method isJSF2a() for the case of a project being newly imported into the workspace, since in that case Java model is not yet ready. That method is made private.
> Create JSF 2 Composite Component context Menu Item should be available ONLY for JSF2 Projects
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-8620
> URL: https://issues.jboss.org/browse/JBIDE-8620
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing
> Affects Versions: 3.3.0.M1
> Reporter: Maxim Areshkau
> Assignee: Denis Maliarevich
> Fix For: 3.3.0.M2
>
>
> Create JSF 2 Composite Component context Menu Item should be available ONLY for JSF2 Projects ie for projects with JSF2 libs in class path.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list