[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: How to present ParserEditStatus error validation messages for direct edits

I've filed #205217 in bugzilla. The solution could be to analyze parser status in editpart, get workbench status line and show error message in it.

Keith Clarke wrote:

Hi,

To stop users being able to enter (invalid) duplicate values by using the direct edit on a GMF 2 diagram, I modified MessageFormatParser to return an IParserEditStatus.UNEDITABLE ParserEditStatus including an error message. This does stop the edit but there is no reporting of the error message to the user.

Is there an example anywhere of how to report the error message to the user?

Thanks,
Keith