Ability to re-use "Maven2/Enable" action from external Eclipse plug-ins
-----------------------------------------------------------------------
Key: MNGECLIPSE-215
URL: http://jira.codehaus.org/browse/MNGECLIPSE-215
Project: Maven 2.x Extension for Eclipse
Issue Type: Improvement
Components: Wizards
Affects Versions: 0.0.10
Reporter: Jevgenij Plams
Fix For: 0.0.10
Attachments: reuse-nature-apply-action-patch.txt
Our company is developing corporative development environment that is based on
Eclipse and Maven. We are interested to use your plug-in for integration with
Maven. We have our own "new project" wizard and we want to integrate some of
m2eclipse plug-in functionality into this wizard. Currently, we want to have
"Maven support enabled" check-box in our wizard to automatically apply
m2eclipse nature and functionality to our project. So, we want to declare
dependency on your plug-in and re-use some of classes. But currently we cannot
re-use your classes because your plug-in doesn't export any Java packages.
Therefore I would like to change the plug-in manifest for the project
"org.maven.ide.eclipse" in order to declare Java package
"org.maven.ide.eclipse.actions" as exported. In this case I can use class
"EnableNatureAction" to apply your functionality to our project. Also I want to
declare method "enableNature" of class "EnableNatureAction" as public and
static. Then I can re-use m2eclipe code without creation of action delegate
object.
Attached patch contains all required changes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira