|
Re: Missing activity diagrams [message #45446 is a reply to message #45385] |
Tue, 06 November 2007 18:04 |
Eclipse User |
|
|
|
Originally posted by: storaskar.xx.xxx.xxx
Looks like you don't have publishing options set for diagrams. Take a look
at PublishHTMLOptions -> setPublishBaseAD and setPublishUnopenADD methods.
--
Shilpa
|
|
|
|
|
|
Re: Missing activity diagrams [message #45620 is a reply to message #45590] |
Thu, 08 November 2007 20:19 |
Eclipse User |
|
|
|
Originally posted by: storaskar.xx.xxx.xxx
Yeah.. you would have to debug into this. It's quite possible that current
diagram publishing may need UI.
From EPF, you need to start looking into
org.eclipse.epf.diagram.ui.service.DiagramImageService and
org.eclipse.epf.diagram.ui.viewer.NewActivityDiagramviewer. Those are two
packages where diagrams get published.
DiagramImageService constructor need composite of 1x1 pixels to hold
diagram. This was needed for GEF based diagrams. In latest release we
moved to GMF, but not sure whether that's still needed. That's something
we need to check on our side to see whether we can get rid of that
composite.
If you look at standard publishing -
org.eclipse.epf.publishing.ui.wizards.PublishProgressMonitor Dialog it's
creating that composite and passing into DiagramImageService. I am
guessing you don't have that in command-line publishing code.
I am not sure whether that's causing command-line publishing not to show
diagrams but that's something you need to start looking into and debug
more into DiagramImageService and viewer class.
Hope it helps..
Regards
Shilpa Toraskar
|
|
|
|
Re: Missing activity diagrams [message #45804 is a reply to message #45650] |
Mon, 12 November 2007 19:01 |
Eclipse User |
|
|
|
Originally posted by: storaskar.xx.xxx.xxx
ActivityDiagramService is old legacy class which we used for GEF based
diagrams. Although activity detail diagrams have the same look and feel
for both GEF & GMF, it may not be a good idea to use that class since we
might take it out.
For current (GMF) diagrams, you really need to look epf.diagram.xx..
packages.
The exception you got for DiagramImageService makes sense. It complained
about workbench UI not started which you don't have in command-line
publishing. If you look at exception trace, it goes to GMF which in turns
calls workbench UI. That could be difference between GEF and GMF. And may
be that's why ActivityDiagramService work fine for you.
Sorry..this is not much of help for you. But looks like you would have to
work your way around to get diagrams working for command-line publishing.
Regards,
Shilpa
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05479 seconds