Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE have only one " Eidtordomain" ?
VE have only one " Eidtordomain" ? [message #141216] Thu, 27 September 2007 04:59 Go to next message
Eclipse UserFriend
Originally posted by: caye5200.yahoo.com.cn

JavaVisualEditorPart
editDomain = new EditDomain(this);

public EditDomain(IEditorPart editorPart)

{super(editorPart);}

/**

  * A utility method to get the edit domain from an EditPart.

*/

public static EditDomain getEditDomain(EditPart ep)

 {

return (EditDomain) ep.getRoot().getViewer().getEditDomain();

 }



VE have only one " Eidtordomain" ?

If not ,how create a domain?
Re: VE have only one " Eidtordomain" ? [message #141344 is a reply to message #141216] Sat, 29 September 2007 18:21 Go to previous message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"zxc" <caye5200@yahoo.com.cn> wrote in message
news:fdfdc1$ti9$1@build.eclipse.org...
> JavaVisualEditorPart
> editDomain = new EditDomain(this);
> public EditDomain(IEditorPart editorPart)
> {super(editorPart);}
> /**
> $B!!(B * A utility method to get the edit domain from an EditPart.
> */
> public static EditDomain getEditDomain(EditPart ep)
> $B!!(B{
> return (EditDomain) ep.getRoot().getViewer().getEditDomain();
> $B!!(B}
> VE have only one " Eidtordomain" ?
> If not ,how create a domain?
Zxc:
Could you provide a link to the sources you are talking about?
That would make it easier for folks to check.
Cordially
--
Cheers, Philippe
http://www.nexb.com - http://eclipse.org/ve - http://eclipse.org/atf -
http://easyeclipse.org - http://phpeclipse.net
Re: VE have only one " Eidtordomain" ? [message #616628 is a reply to message #141216] Sat, 29 September 2007 18:21 Go to previous message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"zxc" <caye5200@yahoo.com.cn> wrote in message
news:fdfdc1$ti9$1@build.eclipse.org...
> JavaVisualEditorPart
> editDomain = new EditDomain(this);
> public EditDomain(IEditorPart editorPart)
> {super(editorPart);}
> /**
> $B!!(B * A utility method to get the edit domain from an EditPart.
> */
> public static EditDomain getEditDomain(EditPart ep)
> $B!!(B{
> return (EditDomain) ep.getRoot().getViewer().getEditDomain();
> $B!!(B}
> VE have only one " Eidtordomain" ?
> If not ,how create a domain?
Zxc:
Could you provide a link to the sources you are talking about?
That would make it easier for folks to check.
Cordially
--
Cheers, Philippe
http://www.nexb.com - http://eclipse.org/ve - http://eclipse.org/atf -
http://easyeclipse.org - http://phpeclipse.net
Previous Topic:auto generated code
Next Topic:auto generated code
Goto Forum:
  


Current Time: Thu Sep 19 11:12:03 GMT 2024

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

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

Back to the top