Project Configuration and Application Configurable group
Answered
Good morning.
I have a question related to Settings.
Can I mix application and project settings? E.g.
<applicationConfigurable groupId="project" groupWeight="120" instance="com.my.settings.MySettings"
id="MySettings" displayName="MySettings" order="last">
<configurable instance="com.my.settings.ProjectSettingsConfigurable"
id="reference.com.my.settings.project"
bundle="messages.MySettingsBundle" key="com.my.settings.project"/>
<configurable instance="com.my.settings.GlobalSettingsConfigurable"
id="reference.com.my.settings.global"
bundle="messages.MySettingsBundle" key="com.my.settings.global"/>
</applicationConfigurable>
How can I ensure that the first configurable (com.my.settings.ProjectSettingsConfigurable) is per project while the second stays per application?
Please sign in to leave a comment.
What do you mean by mix? What does this nesting means?
There are <applcationConfigurable> and <projectConfigurable> extension points.
Hey thanks for answering.
I mean, if I add
Then a single tab MySettings will be shown under which two tabs for the two configurable will be shown.
How can I have under MySettings a project configurable tab and an application configurable tab?
You can use
groupWeight=
to control order of nested configurable elements within the parent.Ah, that's it! Easy!
Thanks a lot