[jbosstools-issues] [JBoss JIRA] (JBIDE-13987) Improve project wizards in JBoss Central : Proxy Wizards

Radim Hopp (JIRA) jira-events at lists.jboss.org
Tue Jul 9 08:39:21 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-13987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788403#comment-12788403 ] 

Radim Hopp commented on JBIDE-13987:
------------------------------------

I made some progress here. Now, I'm able to change plugin.xml from discovery.jar to alter labels and descriptions of projects in Central. But I'm still unable to verify this issue.
Steps I've taken: 
I uninstalled forge from my JBT instance.
Then I changed this:
{noformat}
 <proxyWizard 
          id="spring.wizard" 
          description="%springmvc.wizard.description"
          label="Spring Project"
          priority="6"
          iconPath="images/wizards/spring_wiz.gif"
          wizardId="org.jboss.tools.central.wizards.NewSpringMvcProjectWizard">
      </proxyWizard>
{noformat}
into this:
{noformat}
 <proxyWizard 
          id="spring.wizard" 
          description="%springmvc.wizard.description"
          label="Spring Project test"
          priority="6"
          iconPath="images/wizards/spring_wiz.gif"
          wizardId="org.jboss.tools.central.wizards.NewSpringMvcProjectWizard"
	  requiredComponentIds="org.jboss.tools.forge.feature">
      </proxyWizard>
{noformat}
and restarted JBT.
Label was updated successfully, but when I clicked on Spring project, I wasn't asked to install forge, just first page of "New Project Example" wizzard was shown.
[~fbricon] Am I still doing something wrong?
                
> Improve project wizards in JBoss Central : Proxy Wizards
> --------------------------------------------------------
>
>                 Key: JBIDE-13987
>                 URL: https://issues.jboss.org/browse/JBIDE-13987
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Central
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Fred Bricon
>            Assignee: Max Rydahl Andersen
>              Labels: new_and_noteworthy, respin-b
>             Fix For: 4.1.0.Beta1
>
>         Attachments: www.tar.gz
>
>
> The "Start from scratch" section (formerly known as Project section) in JBoss Central needs to support the following requirements :
> - wizard list (label/order/description) must be updateable remotely
> - show wizards (including the proper icon) even if their contributing plugins are missing
> - when clicking on the wizard link in JBoss Central, if the wizard is available then open it, else, install the required plugins
> The general idea here is to use some kind of proxy wizard. A proxy wizard model should have the following attributes :
> - id : the proxy wizard id
> - label : the proxy wizard label shown in JBoss Central
> - wizardId : the real wizard id used by Central to open the wizard dialog
> - iconPath : the path to the wizard icon (independent of required connector)
> - description : the description shown in Central when hovering over the wizard link
> - requiredConnectorIds : the connector ids to install if the real wizard is not available
> - priority : order in which the wizard is displayed in JBoss Central
> The proxy wizards will be declared in the jboss-discovery.jar plugin.xml (to minimize build / maintenance overhead). The jar will also include the required icons.
> The jar will be fetched remotely by the discovery mechanism but a cached version must be kept for offline usage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list