[teiid-dev] CDK Toolkit Plugin Specifics
Sumanth P K
sumanth.technical at gmail.com
Thu Oct 29 12:57:16 EDT 2009
Sanjay,
I have been looking regarding the custom editor implementation. Which one
from your experience in Eclipse Plugin Development is a better approach:
1) Building a Custom Editor by extending from the Eclipse Text Editor OR
2) Using the EMF approach where we define a model, tansform it into an Ecore
Model and build the editor for it.
Thanks,
Sumanth.
On Mon, Oct 26, 2009 at 10:46 PM, Sumanth P K
<sumanth.technical at gmail.com>wrote:
> The idea of Custom Editor looks good to me. That way the user would have
> the flexibility to use the editor of choice. I shall proceed in this
> direction.
>
>
>
> On Mon, Oct 26, 2009 at 8:47 PM, Sanjay Chaudhuri <email2sanjayc at gmail.com
> > wrote:
>
>> The eclipse properties editor comes with 2 columns and that cannot be
>> changed; so we need to have a new custom editor which will be look like the
>> properties editor, however have 4 columns instead of 2. By default, we can
>> wire eclipse to open up ra.xml in our own custom editor, however users can
>> still open it up in default xml editor with the "Open With" option. If we
>> only need to address the porperties section, we can have a table with each
>> properties in each row.
>>
>>
>> On Mon, Oct 26, 2009 at 9:35 AM, Ramesh Reddy <rareddy at redhat.com> wrote:
>>
>>> On Sun, 2009-10-25 at 17:51 -0500, Sanjay Chaudhuri wrote:
>>> > Ok; then to keep things very simple, we can have a simple editor which
>>> > potentially can be a table/tabletree like properties view; however
>>> > with 4 columns instead of 2, viz, key, value, type and description. I
>>> > bring up tabletree as an option, incase you want the hierarchy to be
>>> > visible, which I think can be important because the file is a xml and
>>> > I saw it having a good nested structure.
>>> >
>>> All properties are at the same level in the ra.xml file, since we are
>>> only dealing with properties section of the ra.xml, the tree is
>>> optional. Once we make it hierarchical don't you have to use XMLEditor
>>> instead of the Property editor?
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/teiid-dev/attachments/20091029/ec3b8592/attachment.html
More information about the teiid-dev
mailing list