Community
Participate
Working Groups
Is it possible to add a warning to the model editor to have a warning indicating that elementId is required? See bug 379216 .
I'll take care of this on the weekend
Maybe also a Preference setting to turn of the warnings? Default should be warning.
Created attachment 218737 [details] Proposed patch Patch making it easy (I overloaded the method so just add the warning) to add a warning based on a decorator on the text widget. I like it as it is not intrusive and still pretty visible. Example of usage in bug 379304 which I will patch shortly.
The Messages part of the patch belongs to bug 379304 (sorry). I worked on both these bugs in one batch and then had to separate the the patches. So bottom line is that this patch goes together with the bug that this bug blocks(i.e bug 379304)
Commit 4b66dc67 add the API to show a warning. Closing this bug, we work on the individual icon decorations in other bugs.
@Lars, I am experiencing a glitch in that the cursor goes back to the beginning if you edit a non empty text box (binding context field for example). Can you confirm that?
@Sopot, no I can not reproduce.
I do not see a warning icon when having an empty ID field in the editor. Tried Neon.0. Should I re-open this bug?
(In reply to Erdal Karaca from comment #8) > Should I re-open this bug? I suggest to create a new bug (and add a Gerrit patch ;-))