-
Notifications
You must be signed in to change notification settings - Fork 196
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
Adding new MarkerField via markerSupport extension point to problems view seems impossible #2193
Comments
Feel free to suggest a PR including a testcase showing the benefit. |
Hi @jukzi, It seems, one compile error is related to one of your last commits. In my environment the method I have a similar issue with the bundle org.eclipse.ui.workbench where |
It's generally easiest to use the automated Oomph setup: It clones a lot more repos than you need, but it's less error prone than try to set up a single repository. Minimally you should use the installer's advanced mode and choose the Platform's own SDK product: And select the Platform UI project: My build had an error like this when I tested my own instructions above: But it seems to have recovered from that: |
Thank you very much, @merks. That helps a lot. |
please create an issue at https://github.com/eclipse-jdt/eclipse.jdt.core/issues with the stacktrace in text form |
|
…ically eclipse-platform#2193 Since extensions can be added and removed and have to be considered when collecting marker fields, marker types, and marker groups, we cannot create the collections once, we have to create them on demand.
…ically eclipse-platform#2193 Since extensions can be added and removed and have to be considered when collecting marker fields, marker types, and marker groups, we cannot create the collections once, we have to create them on demand.
I prepared a pull request for this issue: PR #2207. |
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns like, for example, an issue ID and URL to a detailed problem description. Fixes eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns like, for example, an issue ID and URL to a detailed problem description. Fixes eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns like, for example, an issue ID and URL to a detailed problem description. Fixes eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns like, for example, an issue ID and URL to a detailed problem description. Fixes eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns like, for example, an issue ID and URL to a detailed problem description. Fixes eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
…m#2193 It was not possible to add new columns to MarkerSupportViews via marker content generator extensions. By loading marker fields, marker types, and groups from marker content generator extensions that will be possible. This way, the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
…m#2193 This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
…m#2193 This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
…m#2193 This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: #2193
…m#2193 This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
…m#2193 This change adds missing functionality for the extension 'markerContentGeneratorExtension'. So far, ContentGeneratorDescriptor supports this extension with only getFilterReferences(). I.e. ContentGeneratorDescriptor only lists filter references of extensions, on top of its own filter references. With this change, getAllFields(), getInitialVisible() and getMarkerTypes() are also aggregating values for ContentGeneratorDescriptor and its extensions. As a result, e.g. the problems view and markers view can be extended with new columns. For example, an issue ID and URL to a detailed problem description. Fixes: eclipse-platform#2193
I tried adding a new
MarkerField
to the problems view using the markerSupport extension point. That seems not to be possible with the latest org.eclipse.ui.ide bundle. I was not able to select the newMarkerField
in the problems (or markers) view's "Configure Columns..." dialog.Using the markerSupport extension point I added a new markerContentGenerator and a markerContentGeneratorExtension for the problem view's marker content generator (
id=org.eclipse.ui.ide.problemsGenerator
). While debugging the code, I found out that my marker content generator was initialized and used the newMarkerField
, but theContentGeneratorDescriptor
did not pick up the newMarkerField
.I guess, the method
ContentGeneratorDescriptor#getAllFields()
is not correct. I think, theContentGeneratorDescriptor
has to collect allMarkerField
s provided by the corresponding marker content generator as well asMarkerField
s provided by the marker content generator extensions. Instead,ContentGeneratorDescriptor#getAllFields()
ignores the registered extensions. It seems, the only place, where marker content generator extensions are considered, is the methodContentGeneratorDescriptor#getFilterReferences()
.Did I misunderstand something or do we have to handle marker content generator extensions in most of the
ContentGeneratorDescriptor
's methods?Details
My marker support extension looked like that:
Community
The text was updated successfully, but these errors were encountered: