playing a video in FigureCanvas.i can listen the sound but can't view video [message #216411] |
Thu, 18 May 2006 06:58 |
Eclipse User |
|
|
|
Originally posted by: kanchan.thukral.barco.com
i have made one class which takes the composite in the constructor and this class is playing video through swt ole.
when i pass org.eclipse.swt.widgets.Canvas in it's constructor it is working and i can see the video.
but when i pass org.eclipse.draw2d.FigureCanvas in it's constructor then i can only listen that video but can't see that.
why this is??
as org.eclipse.draw2d.FigureCanvas
extends org.eclipse.swt.widgets.Canvas and this canvas class extends org.eclipse.swt.widgets.Composite
please tell me...
|
|
|
|
Re: playing a video in FigureCanvas.i can listen the sound but can't view video [message #219657 is a reply to message #216411] |
Thu, 20 July 2006 06:38 |
Eclipse User |
|
|
|
Originally posted by: dstamkokeng.gmail.com
Hi,
What do you mean by a FigureCanvas? I am currently trying to add drawings
without any underlying model behind it. But I cannot find any canvas to do
my drawing on. May I know how do you add a video to the Figure Canvas? Or
how do you "extract" the canvas outfrom the figure object.
I am new to GEF. My understanding is 1) that ONLY figures can be use to do
drawing in GEF. 2) the figures MUST have an underlying model behind it.
I hope I am wrong abt what I understand. Do you mind explaining more to me
or show me some code snippets if possible?
Thanks alot!
|
|
|
Powered by
FUDForum. Page generated in 0.02518 seconds