How to extend the palette ? [message #40434] |
Mon, 07 June 2004 13:17  |
Eclipse User |
|
|
|
Hi all,
Any examples on how to extend the palette in the Eclipse Visual
Editor ? There;s one article from IBM but it is quite old...
I'm looking for 1.0M1 example...
Thanks
|
|
|
|
|
|
|
|
|
Re: How to extend the palette ? [message #591466 is a reply to message #40434] |
Tue, 08 June 2004 05:25  |
Eclipse User |
|
|
|
Hi Ivan
> Any examples on how to extend the palette in the Eclipse Visual
> Editor ? There;s one article from IBM but it is quite old...
> I'm looking for 1.0M1 example...
We don't have an updated article, but the basic principles still apply.
The best way to try to extend the palette is to look at an example
of where the VE already does it, so the ideas in the article still
largely apply and the syntax is just different. To see the correct
syntax/method look at the org.eclipse.ve.jfc plugin (that adds AWT/Swing
to the palette) and also org.eclipse.ve.swt (that adds SWT support).
There is a detailed document about the VE extension points for
contributors that covers the palette at:
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/vep -home/WebContent/docs/contributors/contributors.html
Best regards,
Joe Winchester
|
|
|
Re: How to extend the palette ? [message #591475 is a reply to message #40496] |
Tue, 08 June 2004 08:55  |
Eclipse User |
|
|
|
ohh.... thanks~ :-)
Joe Winchester wrote:
> Hi Ivan
>
>> Any examples on how to extend the palette in the Eclipse Visual
>> Editor ? There;s one article from IBM but it is quite old...
>> I'm looking for 1.0M1 example...
>
>
> We don't have an updated article, but the basic principles still
> apply. The best way to try to extend the palette is to look at an
> example of where the VE already does it, so the ideas in the article
> still largely apply and the syntax is just different. To see the
> correct syntax/method look at the org.eclipse.ve.jfc plugin (that adds
> AWT/Swing to the palette) and also org.eclipse.ve.swt (that adds SWT
> support).
>
> There is a detailed document about the VE extension points for
> contributors that covers the palette at:
> http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/vep -home/WebContent/docs/contributors/contributors.html
>
>
> Best regards,
>
> Joe Winchester
|
|
|
Re: How to extend the palette ? [message #591501 is a reply to message #40527] |
Tue, 08 June 2004 12:08  |
Eclipse User |
|
|
|
The example plug-ins included in the VE-examples file from the download
page also can be used as good reference for the palette, beaninfo and
overrides extension points. Check out the plugin.xml, examplecats.xmi
and Area.override in that zip, should you be interested :)
- Jeff
Ivan wrote:
> ohh.... thanks~ :-)
>
> Joe Winchester wrote:
>
>> Hi Ivan
>>
>>> Any examples on how to extend the palette in the Eclipse Visual
>>> Editor ? There;s one article from IBM but it is quite old...
>>> I'm looking for 1.0M1 example...
>>
>>
>>
>> We don't have an updated article, but the basic principles still
>> apply. The best way to try to extend the palette is to look at an
>> example of where the VE already does it, so the ideas in the article
>> still largely apply and the syntax is just different. To see the
>> correct syntax/method look at the org.eclipse.ve.jfc plugin (that adds
>> AWT/Swing to the palette) and also org.eclipse.ve.swt (that adds SWT
>> support).
>>
>> There is a detailed document about the VE extension points for
>> contributors that covers the palette at:
>> http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/vep -home/WebContent/docs/contributors/contributors.html
>>
>>
>> Best regards,
>>
>> Joe Winchester
>
>
>
|
|
|
Re: How to extend the palette ? [message #591509 is a reply to message #40581] |
Tue, 08 June 2004 22:29  |
Eclipse User |
|
|
|
Thanks guy~ :-)
I would like to comment some thing about this.... I think de eclipe way
to extend palette a bit.... harder than JDev or JBuilder....
Any plan to create something that will auto generate those files out ? :-)
Thanks guy :-)
Jeff Myers wrote:
> The example plug-ins included in the VE-examples file from the
> download page also can be used as good reference for the palette,
> beaninfo and overrides extension points. Check out the plugin.xml,
> examplecats.xmi and Area.override in that zip, should you be
> interested :)
>
> - Jeff
>
> Ivan wrote:
>
>> ohh.... thanks~ :-)
>>
>> Joe Winchester wrote:
>>
>>> Hi Ivan
>>>
>>>> Any examples on how to extend the palette in the Eclipse Visual
>>>> Editor ? There;s one article from IBM but it is quite old...
>>>> I'm looking for 1.0M1 example...
>>>
>>>
>>>
>>>
>>> We don't have an updated article, but the basic principles still
>>> apply. The best way to try to extend the palette is to look at
>>> an example of where the VE already does it, so the ideas in the
>>> article still largely apply and the syntax is just different. To
>>> see the correct syntax/method look at the org.eclipse.ve.jfc plugin
>>> (that adds AWT/Swing to the palette) and also org.eclipse.ve.swt
>>> (that adds SWT support).
>>>
>>> There is a detailed document about the VE extension points for
>>> contributors that covers the palette at:
>>> http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/vep -home/WebContent/docs/contributors/contributors.html
>>>
>>>
>>> Best regards,
>>>
>>> Joe Winchester
>>
>>
>>
>>
|
|
|
Re: How to extend the palette ? [message #591538 is a reply to message #40610] |
Wed, 09 June 2004 08:43  |
Eclipse User |
|
|
|
Hi Ivan,
> I would like to comment some thing about this.... I think de eclipe way
> to extend palette a bit.... harder than JDev or JBuilder....
> Any plan to create something that will auto generate those files out ? :-)
Please create a bugzilla feature request for us to do this. It's
something we need to do, but the feature request will help us to put it
in plan and also have a discussion as to the best approach. We need to
tackle different scenarios such as a) plugin provider wants to provide a
palette 2) user wants ad-hoc customization and also we need to think
about the whole approach where the user updates the build path first and
the palette responds - other ideas might include everything available on
the palette with non-build path entries disabled somehow, and selecting
them would add them to the build path. The problem with this is that
they could represent things like different JRE levels so we need to
think about how to present that without confusion.
Getting a discussion about this on a bugzilla feature request would be
great, so please open and contribute your ideas.
Best regards,
Joe Winchester
|
|
|
|
Powered by
FUDForum. Page generated in 0.10579 seconds