Degrade PDE DS UI to a viewer of generated OSGi DS component XML files #1399
HannesWell
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
+1 for the proposal |
Beta Was this translation helpful? Give feedback.
0 replies
-
This editor is very useful to understand available capabilities of component declaration, we need to consider that its removal will increase the entry barrier. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment it is possible to create OSGi service component definitions through a dedicated wizard and it is possible to edit existing component definitions through a corresponding editor when opening a component XML file (see the screenshots below).
But since it is possible for quite some time to use the much more convenient OSGI Declarative Service Annotations directly within the Java classes implementing the components I see not much value in creating and editing DS components by hand instead of using the annotations.
Therefore I suggest to remove the
Component Definition
wizard entirely and to degrade theComponent Definition
file editor to a pure viewer. Theorg.eclipse.pde.ds.ui
plugin would then only provide a read-onlyComponent Definition
viewer plus the outline contribution, similar to when like one would open the component XML file from a plugin in the TP.Maybe the viewer will then also be made openable from the Manifest-Editor like proposed in #40, but that's an orthogonal issue.
This would reduce the maintenance effort and would simplify the UI for users a little bit.
What's your opinion on this? Any objections?
Beta Was this translation helpful? Give feedback.
All reactions