Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » when does the editpart create editpolicy
when does the editpart create editpolicy [message #99860] Wed, 15 October 2003 11:41 Go to next message
Eclipse UserFriend
Originally posted by: qiuyunzhong.hotmail.com

Hi Everyone:
Now i want to create a outline of the editor just like logic example.In
my example the TreeEditPart called activate(),but does not call
createEditPolicy,so i want to whether it has some conditon the editpart
calling creatEditPolicy().
Re: when does the editpart create editpolicy [message #99922 is a reply to message #99860] Wed, 15 October 2003 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: felix.mayer.comcast.net

All I can see is that my overridden
GraphicalEditor.initializeGraphicalViewer() has a line
getGraphicalViewer().setContents( _model );
which ends up calling createEditPolicies(). I guess this happens after the
EditParts have been created for my model objects.

"tina" <qiuyunzhong@hotmail.com> wrote in message
news:bmjbpm$sqv$1@eclipse.org...
> Hi Everyone:
> Now i want to create a outline of the editor just like logic example.In
> my example the TreeEditPart called activate(),but does not call
> createEditPolicy,so i want to whether it has some conditon the editpart
> calling creatEditPolicy().
>
>
Re: when does the editpart create editpolicy [message #99936 is a reply to message #99860] Wed, 15 October 2003 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

EditPolicies are created as soon as your editpart is added to the viewer.
This happens in addNotify

"tina" <qiuyunzhong@hotmail.com> wrote in message
news:bmjbpm$sqv$1@eclipse.org...
> Hi Everyone:
> Now i want to create a outline of the editor just like logic example.In
> my example the TreeEditPart called activate(),but does not call
> createEditPolicy,so i want to whether it has some conditon the editpart
> calling creatEditPolicy().
>
>
Previous Topic:Label left alignment
Next Topic:Print Preview in GEF
Goto Forum:
  


Current Time: Wed Jan 15 09:19:15 GMT 2025

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

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

Back to the top