Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Customize label parser
Customize label parser [message #372671] Wed, 29 July 2009 10:31 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I need to customize a GMF label parser, i.e. replace the standard GMF
parser by my own one (e.g. a parser generated from Xtext).

I understand, there was a feature introduced in GMF 2.2 with this bug:

Could anyone explain how to use it? Where and how can I register my
parser correctly?

Re: Customize label parser [message #421639 is a reply to message #372671] Thu, 30 July 2009 12:17 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Hauke,

Looks like you can add CustomParser into GenParsers object below GenEditorGenerator
in .gmfgen model and specify this parser as a parser for appropriate labels.
On code generation there will be a class (dummy parser implementation) generated
for this parser where you can place corresponding code.

Alex Shatalin
Previous Topic:Removing Copy Pasted EditPart Child Elements
Next Topic:GMF Editor Migration Problems
Goto Forum:

Current Time: Fri Feb 26 18:52:07 GMT 2021

Powered by FUDForum. Page generated in 0.02561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top