Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE and third party components
VE and third party components [message #63737] Fri, 01 October 2004 11:25 Go to next message
Michael Ansley is currently offline Michael AnsleyFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I want to use JGraph with VE, and was wondering how to include it within
the VE framework as a component available to the user. Are third party
components supported, or can the VE currently only handle the standard
component provided by Java and SWT?

Thanks...


Mike
Re: VE and third party components [message #63783 is a reply to message #63737] Fri, 01 October 2004 13:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Michael Ansley wrote:
> Hi,
>
> I want to use JGraph with VE, and was wondering how to include it within
> the VE framework as a component available to the user. Are third party
> components supported, or can the VE currently only handle the standard
> component provided by Java and SWT?
>
> Thanks...
>
>
> Mike
>
>
Yes, you should be able to drop and visualize any component with a
public no-argument constructor that extends java.awt.Component, or in
SWT org.eclipse.swt.widgets.Control. Any non-visual class with a public
no-argument constructor can be dropped on the free form surface (white
background area in the design pane). This can be accomplished using the
Choose Bean function in the VE. How well you can customize and
configure the component after it's dropped depends on whether the
component follows the Java Beans spec. You can add your own Beaninfo
for the components you're using to define things like enumerated values
on the property sheet and property editors/customizers. See the VE help
docs for more info on this.

Good luck!
- Jeff
Re: VE and third party components [message #63831 is a reply to message #63783] Sat, 02 October 2004 00:27 Go to previous message
Michael Ansley is currently offline Michael AnsleyFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Jeff, thanks for the help. Worked first time.

Jeff Myers wrote:

> Michael Ansley wrote:
>> Hi,
>>
>> I want to use JGraph with VE, and was wondering how to include it within
>> the VE framework as a component available to the user. Are third party
>> components supported, or can the VE currently only handle the standard
>> component provided by Java and SWT?
>>
>> Thanks...
>>
>>
>> Mike
>>
>>
> Yes, you should be able to drop and visualize any component with a
> public no-argument constructor that extends java.awt.Component, or in
> SWT org.eclipse.swt.widgets.Control. Any non-visual class with a public
> no-argument constructor can be dropped on the free form surface (white
> background area in the design pane). This can be accomplished using the
> Choose Bean function in the VE. How well you can customize and
> configure the component after it's dropped depends on whether the
> component follows the Java Beans spec. You can add your own Beaninfo
> for the components you're using to define things like enumerated values
> on the property sheet and property editors/customizers. See the VE help
> docs for more info on this.
>
> Good luck!
> - Jeff
Re: VE and third party components [message #600389 is a reply to message #63737] Fri, 01 October 2004 13:43 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Michael Ansley wrote:
> Hi,
>
> I want to use JGraph with VE, and was wondering how to include it within
> the VE framework as a component available to the user. Are third party
> components supported, or can the VE currently only handle the standard
> component provided by Java and SWT?
>
> Thanks...
>
>
> Mike
>
>
Yes, you should be able to drop and visualize any component with a
public no-argument constructor that extends java.awt.Component, or in
SWT org.eclipse.swt.widgets.Control. Any non-visual class with a public
no-argument constructor can be dropped on the free form surface (white
background area in the design pane). This can be accomplished using the
Choose Bean function in the VE. How well you can customize and
configure the component after it's dropped depends on whether the
component follows the Java Beans spec. You can add your own Beaninfo
for the components you're using to define things like enumerated values
on the property sheet and property editors/customizers. See the VE help
docs for more info on this.

Good luck!
- Jeff
Re: VE and third party components [message #600410 is a reply to message #63783] Sat, 02 October 2004 00:27 Go to previous message
Michael Ansley is currently offline Michael AnsleyFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Jeff, thanks for the help. Worked first time.

Jeff Myers wrote:

> Michael Ansley wrote:
>> Hi,
>>
>> I want to use JGraph with VE, and was wondering how to include it within
>> the VE framework as a component available to the user. Are third party
>> components supported, or can the VE currently only handle the standard
>> component provided by Java and SWT?
>>
>> Thanks...
>>
>>
>> Mike
>>
>>
> Yes, you should be able to drop and visualize any component with a
> public no-argument constructor that extends java.awt.Component, or in
> SWT org.eclipse.swt.widgets.Control. Any non-visual class with a public
> no-argument constructor can be dropped on the free form surface (white
> background area in the design pane). This can be accomplished using the
> Choose Bean function in the VE. How well you can customize and
> configure the component after it's dropped depends on whether the
> component follows the Java Beans spec. You can add your own Beaninfo
> for the components you're using to define things like enumerated values
> on the property sheet and property editors/customizers. See the VE help
> docs for more info on this.
>
> Good luck!
> - Jeff
Previous Topic:inserting swt container results in error?
Next Topic:Upgrading to Eclipse 3.01 SDK from vanilla 3.01?
Goto Forum:
  


Current Time: Sat Jul 13 00:24:14 GMT 2024

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

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

Back to the top