Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose package type to eclipse #108

Open
gossi opened this issue May 23, 2014 · 0 comments
Open

Expose package type to eclipse #108

gossi opened this issue May 23, 2014 · 0 comments

Comments

@gossi
Copy link
Collaborator

gossi commented May 23, 2014

I don't know how to exactly call that. The package type should be made accessible from a plugin.xml. So other plugins can register menu items and filter it based on the composer type or decorate folders based on it. Similar to what pdt makes available
org.pdtextensions.parentProjectNature:

<menuContribution
            allPopups="false"
            locationURI="menu:sourceMenuId?before=sourceBegin">
         <command
               commandId="com.dubture.composer.ui.command.injectAutoload"
               label="Inject Composer Autoload-Statement"
               style="push">
            <visibleWhen checkEnabled="false">
               <with
                     variable="selection">
                  <iterate
                        ifEmpty="false"
                        operator="and">
                          <test
                                forcePluginActivation="true"
                                property="org.pdtextensions.parentProjectNature"
                                value="com.dubture.composer.core.composerNature">
                          </test>
                  </iterate>
               </with>

            </visibleWhen>
         </command>
      </menuContribution>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant