Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Get GEF edtior nested in a multi-page editor
Get GEF edtior nested in a multi-page editor [message #496576] Tue, 10 November 2009 15:48 Go to next message
QIU????????  is currently offline QIU????????
Messages: 7
Registered: July 2009
Junior Member
Hello,

My GEF editor is actually a tab page in a multi-page eidtor (which contains visual editor, text edior, etc).
Is it possible to get my GEF editor by calling the method bot.gefEditor("myEditor.editor") ?

Thanks.
Re: Get GEF edtior nested in a multi-page editor [message #496626 is a reply to message #496576] Tue, 10 November 2009 17:13 Go to previous messageGo to next message
Mariot Chauvin is currently offline Mariot Chauvin
Messages: 174
Registered: July 2009
Senior Member
Hi,

This should work fine with the correction applied for this bug : https://bugs.eclipse.org/bugs/show_bug.cgi?id=294301
It will be available in the next release.

I also added an example see testCreateMFile() in
http://dev.eclipse.org/svnroot/technology/org.eclipse.swtbot /trunk/examples/gef/org.eclipse.gef.examples.logic.test/src/ org/eclipse/gef/examples/logic/test/OpenGefEditorTest.java.

Regards,

Mariot


QIU Mengjie a écrit :
> Hello,
>
> My GEF editor is actually a tab page in a multi-page eidtor (which
> contains visual editor, text edior, etc).
> Is it possible to get my GEF editor by calling the method
> bot.gefEditor("myEditor.editor") ?
>
> Thanks.
Re: Get GEF edtior nested in a multi-page editor [message #497005 is a reply to message #496626] Thu, 12 November 2009 08:38 Go to previous messageGo to next message
QIU????????  is currently offline QIU????????
Messages: 7
Registered: July 2009
Junior Member
Thanks, Mariot.
Re: Get GEF edtior nested in a multi-page editor [message #503490 is a reply to message #496576] Mon, 14 December 2009 08:34 Go to previous message
Deepak Singla is currently offline Deepak Singla
Messages: 27
Registered: December 2009
Junior Member
Hello QIU,

I am new to GEF and want to use GEF Shape Editor inside the Multipage Editor.

While doing so I am getting streamCorrupt exception inside setInput method. and I am not able to see the palatee tools also (only palaatte area is visble). Can you please help me on this or share some code so that I can resolve from this problem.

Please help me.
Thanks in advnace.
Previous Topic:Issue in disabling the check menu item
Next Topic:SWTBOT testing trees with Label decorators applied
Goto Forum:
  


Current Time: Mon Oct 20 18:08:59 GMT 2014

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

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