| Summary: | Mechanism to contribute actions to maven repository view | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Igor Fedorenko <igor> |
| Component: | m2e | Assignee: | Milos Kleint <mkleint> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mkleint, pascal |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Igor Fedorenko
Igor, would it be enough to have only the materialize action declarative? I've looked at the other actions directly defined on the view and there would be a significant rewrite necessary to have them declarative as well.. I was thinking about having the materialize action declared via the usual popup menu extension point and the others added manually. If not possible, I would create a special purpose extension. I agree, there is no need to reimplement all actions that are provided by the view itself. For the materialize action, ideally the view should allow all actions enabled for objects adaptable to org.eclipse.m2e.core.embedder.ArtifactKey. This is how materialize action is contributed to Package Explorer already, for example, so it would be nice if we could reuse the same contribution mechanism in Repositories View too. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=da00d17351966b1f8cb96edf598645161380c292 sort of not entirely the same as before, the materialize action comes first now. but in the context of other actions being always shown (even out of it's intended context) I guess it's ok. . |