[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3113) Consolidation/clean up of preference pages

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Fri Dec 18 15:24:31 EST 2009


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

Snjezana Peco commented on JBIDE-3113:
--------------------------------------

> The problem with this is how are these plugins going to run outside of jbosstools if they dependt on jboss tools preferences category to be defined ?

The JBoss Tools category is defined in the org.jboss.tools.common.model.ui plugin in the following way:

<extension point="org.eclipse.ui.preferencePages">
      <page
            name="%MainPreferencePage"
            class="org.jboss.tools.common.model.ui.preferences.MainPreferencePage"
            id="org.jboss.tools.common.model.ui.MainPreferencePage">
      </page>
     ...
  </extension>

Every plugin that can be run outside of JBoss Tools can copy this definition. Eclipse doesn't show two categories with the same id which means that this category will be shown correctly no mater if the plugin is run inside or outside of JBoss Tools.

> Consolidation/clean up of preference pages
> ------------------------------------------
>
>                 Key: JBIDE-3113
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3113
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common, drools, jbpm
>    Affects Versions: 3.0.0.cr1
>         Environment: JBossTools-3.0.0.CR1-N200811050757-ALL-linux-gtk
>            Reporter: John Graham
>            Priority: Minor
>             Fix For: 3.1.0.CR1
>
>
> JBT currently has three preference page categories:
> 1. Drools
> 2. JBoss jBPM
> 3. JBoss Tools
> The first two should be listed as subsections of the JBoss Tools category. Alternatively, I suggest that the top level category should just be JBoss:
> - JBoss
>   -- Drools
>   -- jBPM
> Also, the JBoss Tools and JBoss jBPM top level pages in each of these categories do not expose preferences, but rather the default buttons or simply a label ("JBoss Tools"). These top level pages should show overall JBT preferences. See the Java preferences or other examples in the Eclipse platform for this idea. (Also note that the DTP 1.6.x way of doing this is wrong... ;)  )

-- 
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

        


More information about the jbosstools-issues mailing list