| [news.eclipse.modeling.gmf] Re: activate print preview dialog |
Hi Ralf,
Do you want to create your own print preview dialog or do you just want to enable the default one?
In the latter case, just set the property "Printing Enabled" for "Gen Plugin" in your gmfgen file to true.
Greetings, Ralf.
R. Heydenreich schrieb:Hi all,
I've modeled a GMF application which runs fine. No I want to add a print preview dialog. I see that in the generated classes (..processmodel.model.diagram.providers) is a class (ProjectnameContributionItemProvider) that holds a createAction method which in turn calls RenderedPrintPreviewAction. But I don't know where I have to activate this class. In the extension points I'm not able to add this class for an item because it's not in the list.
How can I do this? Thanks in advance, Ralf.