Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE and third party components
VE and third party components [message #63737] Fri, 01 October 2004 07:25 Go to next message
Eclipse UserFriend
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 09: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] Fri, 01 October 2004 20:27 Go to previous message
Eclipse UserFriend
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 09:43 Go to previous message
Eclipse UserFriend
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] Fri, 01 October 2004 20:27 Go to previous message
Eclipse UserFriend
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: Thu May 08 08:48:52 EDT 2025

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

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

Back to the top