Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » outline SQL script
outline SQL script [message #439837] Fri, 16 July 2004 15:50 Go to next message
Geoffrey Ritchey is currently offline Geoffrey RitcheyFriend
Messages: 42
Registered: July 2009
Member
Would it be hard to get the outline view to display all the 'create' lines
(create table, create view, ...) when an sql script is active in the
editor?
Re: outline SQL script [message #439854 is a reply to message #439837] Mon, 19 July 2004 01:54 Go to previous message
Philipp Tiedt is currently offline Philipp TiedtFriend
Messages: 52
Registered: July 2009
Member
It shouldnt be that hard,

you need to provide an ContentOutlinePage for your editor though.
You can extend and implement the abstract ContentOutlinePage class. The
content is basically provided by a tree viewer. For a tree viewer you need
a model. You could write a parser (kind of tokenizer) that returns a model
representation of your sql statement.

HTH
Philipp


geoff wrote:

> Would it be hard to get the outline view to display all the 'create' lines
> (create table, create view, ...) when an sql script is active in the
> editor?
Previous Topic:SWTException Invalid thread access
Next Topic:Standalone SWT tutorial problem
Goto Forum:
  


Current Time: Fri Apr 26 21:53:00 GMT 2024

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

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

Back to the top