Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Idea: Show id/name in XML Outline View
Idea: Show id/name in XML Outline View [message #65583] Fri, 14 January 2005 07:13 Go to next message
Eclipse UserFriend
Originally posted by: jrduncans.stephenduncanjr.com

After discussing this here, I can put this in as a feature request in
Bugzilla if it still seems feasible and a good idea.

Right now, the outline view for XML (and the visual XML editor as
opposed to the XML source editor), only show the tag name. When I have
a series of the same tag (like a series of appenders in log4j.xml, or a
series of servlets in web.xml), I would like to be able to go directly
to a certain appender or servlet via the outline view.

My idea would be to show the name or id of the element next to the tag
name in the outline view. I know that there may not be standard way to
do this that satisfies all the xml schemes out there, but even some
support would be very useful.

It seems to me that, at a minimum, you should be all to display the
attribute value for a tag if the data-type of that attribute is "ID", right?

Any other ideas on how to determine what you'd actually show? Or
anything similar that you'd want in the outline view?

-Stephen Duncan Jr
Re: Idea: Show id/name in XML Outline View [message #65604 is a reply to message #65583] Fri, 14 January 2005 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Stephen Duncan Jr wrote:
> After discussing this here, I can put this in as a feature request in
> Bugzilla if it still seems feasible and a good idea.
I fully complain on that. In my case the attribute "name" contains very
important information that I want to see in the outline view as well.
And - that depends - some other attributes as well...

Are there already any plans for that in new Milestones of Webtools?

ra
Re: Idea: Show id/name in XML Outline View [message #65624 is a reply to message #65604] Fri, 14 January 2005 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

Maybe the user could configure which attribute to show - ala ant build file
names text entry box where the user can enter comma separated file name patterns.

Vijay

Raphael A. Bauer wrote:
> Stephen Duncan Jr wrote:
>
>> After discussing this here, I can put this in as a feature request in
>> Bugzilla if it still seems feasible and a good idea.
>
> I fully complain on that. In my case the attribute "name" contains very
> important information that I want to see in the outline view as well.
> And - that depends - some other attributes as well...
>
> Are there already any plans for that in new Milestones of Webtools?
>
> ra
Re: Idea: Show id/name in XML Outline View [message #65665 is a reply to message #65624] Fri, 14 January 2005 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: constantine.plotnikov.gmail.com

It might be better option to show result xpath expression instead. For
example for docbook best name for section element would be "concat(./@id
, ' - ' ,./title::text())"

Constantine

Vijay Aravamudhan wrote:
> Maybe the user could configure which attribute to show - ala ant build
> file names text entry box where the user can enter comma separated file
> name patterns.
>
> Vijay
>
> Raphael A. Bauer wrote:
>
>> Stephen Duncan Jr wrote:
>>
>>> After discussing this here, I can put this in as a feature request in
>>> Bugzilla if it still seems feasible and a good idea.
>>
>>
>> I fully complain on that. In my case the attribute "name" contains very
>> important information that I want to see in the outline view as well.
>> And - that depends - some other attributes as well...
>>
>> Are there already any plans for that in new Milestones of Webtools?
>>
>> ra
Re: Idea: Show id/name in XML Outline View [message #65709 is a reply to message #65665] Fri, 14 January 2005 23:17 Go to previous messageGo to next message
Eclipse UserFriend
Constantie Plotnikov wrote:

> It might be better option to show result xpath expression instead. For
> example for docbook best name for section element would be "concat(./@id
> , ' - ' ,./title::text())"

> Constantine

> Vijay Aravamudhan wrote:
>> Maybe the user could configure which attribute to show - ala ant build
>> file names text entry box where the user can enter comma separated file
>> name patterns.
>>
>> Vijay
>>
>> Raphael A. Bauer wrote:
>>
>>> Stephen Duncan Jr wrote:
>>>
>>>> After discussing this here, I can put this in as a feature request in
>>>> Bugzilla if it still seems feasible and a good idea.
>>>
>>>
>>> I fully complain on that. In my case the attribute "name" contains very
>>> important information that I want to see in the outline view as well.
>>> And - that depends - some other attributes as well...
>>>
>>> Are there already any plans for that in new Milestones of Webtools?
>>>
>>> ra

Interesting ideas. There's no plans for anything like this yet that I'm
aware of. I lean toward having an outline view configuration dialog with a
simple UI to allow folks to specify the significant attributes etc. that
they'd like to use to compute a description (which would save the user
from needing to understand xpath). BTW, there lots we can do with
specialized icons in the outline too. So if there's any suggestions along
those lines I'd be interested in hearing them.

BTW, if anyone is interested in writing some code to make this happen I'd
be happy to point you to relevant places to get you started.

Thanks for sharing your ideas! Keep 'em coming.
Re: Idea: Show id/name in XML Outline View [message #121357 is a reply to message #65709] Fri, 15 July 2005 22:51 Go to previous messageGo to next message
Eclipse UserFriend
On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com> wrote:

>>>>
>>>> Are there already any plans for that in new Milestones of Webtools?
>>>>
>
> BTW, if anyone is interested in writing some code to make this happen I'd
> be happy to point you to relevant places to get you started.
>

We may not be fast, but we do respond ... :)

Amy Wu has provided some preliminary support for this in RC1. One
attribute is shown. Its not user configurable, per se, users can turn
the display of the attribute on and off on outline filter button
(default is off). Amy came up with some ideas on how to make the
attribute displayed following something of a "smart" process ... she
may correct me, but I think, in order,
if there's one defined as ID in content model, it is shown, if
there is a required one, it is shown, else if there's one called 'name', it
is shown, else first one is shown ... or something like that.
We wanted to get something into out into our .7 release so 1) we'd be sensitive to
all the user requests we've gotten for it, and 2) we know no one will be
completely happy with it the way it is, so maybe that will motivate many
to contribute some real high powered user customization preferences :)
Re: Idea: Show id/name in XML Outline View [message #121366 is a reply to message #121357] Sat, 16 July 2005 02:42 Go to previous messageGo to next message
Eclipse UserFriend
Spring ide project have this feature (use wtp editor)
see http://springide.org/project/wiki/BeansXmlEditor
It is great

David Williams wrote:

> On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com>
> wrote:
>
>>>>>
>>>>> Are there already any plans for that in new Milestones of Webtools?
>>>>>
>>
>> BTW, if anyone is interested in writing some code to make this happen I'd
>> be happy to point you to relevant places to get you started.
>>
>
> We may not be fast, but we do respond ... :)
>
> Amy Wu has provided some preliminary support for this in RC1. One
> attribute is shown. Its not user configurable, per se, users can turn
> the display of the attribute on and off on outline filter button
> (default is off). Amy came up with some ideas on how to make the
> attribute displayed following something of a "smart" process ... she
> may correct me, but I think, in order,
> if there's one defined as ID in content model, it is shown, if
> there is a required one, it is shown, else if there's one called 'name',
> it is shown, else first one is shown ... or something like that.
> We wanted to get something into out into our .7 release so 1) we'd be
> sensitive to all the user requests we've gotten for it, and 2) we know no
> one will be completely happy with it the way it is, so maybe that will
> motivate many to contribute some real high powered user customization
> preferences :)
Re: Idea: Show id/name in XML Outline View [message #123053 is a reply to message #121357] Tue, 19 July 2005 13:14 Go to previous message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

David was very close in his description. Except there is nothing done to
look for an attribute named "name"

Details of the new feature can be found:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88444


"David Williams" <david_williams@us.ibm.com> wrote in message
news:op.stzjkbx3ac05ss@news.eclipse.org...
> On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com>
wrote:
>
> >>>>
> >>>> Are there already any plans for that in new Milestones of Webtools?
> >>>>
> >
> > BTW, if anyone is interested in writing some code to make this happen
I'd
> > be happy to point you to relevant places to get you started.
> >
>
> We may not be fast, but we do respond ... :)
>
> Amy Wu has provided some preliminary support for this in RC1. One
> attribute is shown. Its not user configurable, per se, users can turn
> the display of the attribute on and off on outline filter button
> (default is off). Amy came up with some ideas on how to make the
> attribute displayed following something of a "smart" process ... she
> may correct me, but I think, in order,
> if there's one defined as ID in content model, it is shown, if
> there is a required one, it is shown, else if there's one called 'name',
it
> is shown, else first one is shown ... or something like that.
> We wanted to get something into out into our .7 release so 1) we'd be
sensitive to
> all the user requests we've gotten for it, and 2) we know no one will be
> completely happy with it the way it is, so maybe that will motivate many
> to contribute some real high powered user customization preferences :)
Previous Topic:Hibernatedoclet only works outside of eclipse directory
Next Topic:How to disable the warning messages for unknown tags?
Goto Forum:
  


Current Time: Thu May 29 02:08:10 EDT 2025

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

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

Back to the top