VE and third party components [message #63737] |
Fri, 01 October 2004 07:25  |
Eclipse User |
|
|
|
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 #63831 is a reply to message #63783] |
Fri, 01 October 2004 20:27  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04309 seconds