Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dali-dev] Outline View mode switch

Title: Outline View mode switch
Well, I couldn't view the webinar due to what seem to be technical difficulties on their end, but it *sounds* like they have their own editor.  The outline content is provided by the editor, and since we have to work with the java editor (and the java editor hasn't provided any hooks for extension), we can't provide outline content for java files.  XML also presents a difficulty in that JPA files don't have their own file name extension or even a standard file name in all cases (orm.xml could be named ... *anything*.)  Since eclipse editors are driven by file name or name extension (or file content, but that presents a different set of problems when WTP comes into the picture,) we have no way to provide an editor for all JPA XML files, and so therefore no way to provide outline content for all JPA XML files.

We're not 100% satisfied with the solution we've provided either, but we've been unable to come up with anything that would work better or more consistently.

But if we do end up coming up with a solution, it will probably be through emails like this one, so thanks very much for the input!

Paul Fullbright
Oracle Corp.
Eclipse Dali/Java Persistence Tools Development
paul.fullbright@xxxxxxxxxx


Raev, Kaloyan wrote:

Hello,

I am just watching a recording of the PHP Development Tools Overview webinar:
http://live.eclipse.org/node/352

There is a very interesting feature demonstrated between the 24th and 25th minute of the recording. In the PHP perspective there is a switch in the Outline view that switches between "html" and "php" mode. In the "html" mode the Outline view shows the structure of the HTML code in the PHP editor, while in the "php" mode, the Outline view shows the structure of the PHP source code.

So, why am I writing about this in the Dali mailing list? Well, I can make a parallel with the JPA perspective. There is additional "JPA structure" view there that shows the meta data structure of the JPA entity. Here the Dali project can borrow the above mentioned concept from the PDT project - to have a mode switch in the Outline view: "java" mode and "jpa" mode. This way there will be no need of the JPA structure view - it will be actually intergrated in the standard Outline view. I could imagine lots of usability benefits in having this.

Does this suggestion make sense?

Greetings,
Kaloyan Raev
Eclipse WTP Committer
Senior Developer
NW C JS TOOLS JEE (BG)
SAP Labs Bulgaria
T +359/2/9157-416
mailto:kaloyan.raev@xxxxxxx
www.sap.com


_______________________________________________ dali-dev mailing list dali-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dali-dev

Back to the top