when does the editpart create editpolicy [message #99860] |
Wed, 15 October 2003 11:41 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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().
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04234 seconds