eclipse-ecp / org.eclipse.emf.ecp.core

Eclipse Public License 2.0
0 stars 0 forks source link

Rendering Cross References with ComboBox #104

Open eclipse-ecp-bot opened 6 months ago

eclipse-ecp-bot commented 6 months ago

| --- | --- | | Bugzilla Link | 552089 | | Status | NEW | | Importance | P3 normal | | Reported | Oct 14, 2019 11:42 EDT | | Modified | Nov 06, 2023 02:39 EDT | | Reporter | Tamas Miklossy |

Description

Currently, the cross references are rendered by the

org.eclipse.emf.ecp.view.internal.core.swt.renderer.LinkControlSWTRenderer.

Sometimes it would be desired to render the cross references with a ComboBox, similar to the

org.eclipse.emf.ecp.view.internal.core.swt.renderer.EnumComboViewerSWTRenderer

used for enums.

Have you already considered the idea to provide such a ComboBox renderer for the cross references as an alternative to the LinkControlSWTRenderer?

eclipse-ecp-bot commented 6 months ago

By Eugen Neufeld on Oct 14, 2019 16:16

Hi Tamas,

we did not consider using a combo renderer for references.\ You would need to check the amount of possible values before rendering as you probably don't want to use it if you have many possible targets.

Do you have an idea how you want to implement this?

eclipse-ecp-bot commented 6 months ago

By Tamas Miklossy on Nov 25, 2019 10:53

I was thinking about to provide a renderer as a combination of the org.eclipse.emf.ecp.view.internal.core.swt.renderer.LinkControlSWTRenderer and org.eclipse.emf.ecp.view.internal.core.swt.renderer.EnumComboViewerSWTRenderer classes.

Checking the amount of the possible values (before rendering) could happen in the isApplicable() method of the corresponding RendererService class and assign the priority accordingly.

eclipse-ecp-bot commented 6 months ago

Nov 15, 2021 01:32

This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--\ The automated Eclipse Genie.

eclipse-ecp-bot commented 6 months ago

Nov 06, 2023 02:39

This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--\ The automated Eclipse Genie.