[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ve-dev] Customised Swing layout manager
|
Hi,
A little typo, to get your layout manager
to show in the property sheet you create an override for Layout.override,
not Container.override. You just create a new override, put the extension
point in to pick it up as an override and add another annotation. See the
Layout.override that already exists to see how to do that.
Rich
Joe Winchester <WINCHEST@xxxxxxxxxx>
Sent by: ve-dev-bounces@xxxxxxxxxxx
08/26/2005 08:24 AM
Please respond to
Discussions people developing code for the Visual Editor project |
|
To
| Discussions people developing
code for the Visual Editor project <ve-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| Re: [ve-dev] Customised Swing
layout manager |
|
Hi Rashmi,
The best way is to look at how this is done for a layout manager like,
say, BorderLayout. There is a file BorderLayout.override and
this defines the decorator for a factory, and the factory lets you control
things like GEF edit policies (that you will need to build). Look
at the existing factories and you should get a feel for how to do this.
To get your layout manager
to appear in the drop down list of available layout managers in the property
sheet look at Container.override. You could change the base file
to add your own which would work OK for you, but better would be to have
your own Container.override in your own plugin and defined your own layout
manager.
If you need help understanding how to create a plugin and get started with
.override try the Visual Editor tutorial on eclipse corner and the VE homepage.
Best regards and please keep us informed of how you get on,
Joe Winchester
Please respond to Discussions
people developing code for the Visual Editor project <ve-dev@xxxxxxxxxxx>
Sent by:
ve-dev-bounces@xxxxxxxxxxx
To:
<ve-dev@xxxxxxxxxxx>
cc:
Subject: [ve-dev]
Customised Swing layout manager
Hi all,
I have implemented a swing layout manager along with the constraints class.
I loaded it to the eclipse enviroment as a bundle in the plugin. Now when
i use this layout in a visual class I am able to arrange the components
by changing the constraints values from the source view. But i am unable
to move the component on the design view(changing the constraints from
the properties and design view) .Can you help me out to solve my layout
poblem. Do i need to implement some a layout assistant that will interface
with my layout manager and the visualeditor.
Best Regards
-Rashmi
_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev
_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev