Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 254507 - Constraints per Property
Summary: Constraints per Property
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: M4   Edit
Assignee: Dennis Huebner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 254711
Blocks:
  Show dependency tree
 
Reported: 2008-11-06 15:26 EST by Markus Voelter CLA
Modified: 2017-09-19 16:11 EDT (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (1.39 KB, application/octet-stream)
2008-11-26 10:31 EST, Dennis Huebner CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Voelter CLA 2008-11-06 15:26:27 EST
It must be possible to specify the property to which a constraint applies, not just the type. 

This enables the editor to just underline the property and not the whole (potentially quite large) element.
Comment 1 Sven Efftinge CLA 2008-11-10 04:38:21 EST
On Xtext level we have to use the second element of
org.eclipse.emf.common.util.Diagnostic.getData()
If it's an instance of EStructuralFeature it's the needed information and the marker should be placed under the respective feature only.

Bug #254711 addresses this for the check language (which is part of Xpand)
Comment 2 Dennis Huebner CLA 2008-11-26 10:31:00 EST
Fixed in CVS
Comment 3 Dennis Huebner CLA 2008-11-26 10:31:05 EST
Created attachment 118801 [details]
mylyn/context/zip
Comment 4 Karsten Thoms CLA 2017-09-19 16:11:01 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.