Minimise Forms Listing in Solution Explorer?

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Minimise Forms Listing in Solution Explorer?

Postby Kahuna » Wed Jan 28, 2009 12:24 am

Probably been discussed before but I was wondering if anyone has a technique to minimise the number of forms shown in the solution explorer tree in Eclipse (Servoy 4.1).

I know in 3.5 there was a way to list forms under an expandable node based on the table to which they were attached - though I see that might not be appropriate now. With hundreds of forms the navigation is becoming pretty un-wieldly now with all forms expanded in a single node

I suspect using modules would be one answer but a bit of over kill just to manage a forms tree more effectively, and in any case 100 forms or so could still end up in each module (not really fixing the problem).

Have I missed a point? Is there already a way to do this?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Minimise Forms Listing in Solution Explorer?

Postby IT2Be » Wed Jan 28, 2009 12:49 am

Have you tried the filter (header of Solution Explorer)?

It is even more flexible...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: Minimise Forms Listing in Solution Explorer?

Postby Kahuna » Wed Jan 28, 2009 1:33 am

IT2Be wrote:Have you tried the filter (header of Solution Explorer)?

It is even more flexible...


I have tried the filter Marcel but that really does'n result in the kind of division I was hoping for.

In sime cases the filter actually collapses the entire solution tree making it even more inconvenient.

What I was hoping for was some sort of division of the forms by a node structure - perhaps by table, perhaps by user selection (Main Functionality, Section, Category or some other fancy structure!) and I could have just those forms open it the tree at that time.

I made this as a feature request a short while ago, but was wondering if I'd sent the developmrs on a 'wild goose chase' - as would have been the case if functionality was in place to cater for this.

How do other developers with a lot of forms handle this in 4.1?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Minimise Forms Listing in Solution Explorer?

Postby pbakker » Wed Jan 28, 2009 10:24 am

Instead of scrolling through the list of forms, you can use Control-Shift-L to quickly find any object in Servoy.

Once you have the object open in an editor, you can use the "Link to Editor" button on the Solution Explorer to 'select' the object in the Tree as well.

This is not what you're looking for, but once you get used to finding stuff this way, it works so much quicker than scrolling through the list of objects/forms in the Solution Explorer tree.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: Minimise Forms Listing in Solution Explorer?

Postby Kahuna » Wed Jan 28, 2009 11:23 am

pbakker wrote:Instead of scrolling through the list of forms, you can use Control-Shift-L to quickly find any object in Servoy.

Once you have the object open in an editor, you can use the "Link to Editor" button on the Solution Explorer to 'select' the object in the Tree as well.

This is not what you're looking for, but once you get used to finding stuff this way, it works so much quicker than scrolling through the list of objects/forms in the Solution Explorer tree.

Paul


Thanks Paul I'll try that out over the next couple of days. Like so much else it takes a bit of perseverance with unusual techniques to get to see the value in them.

Can you see some sort of tree 'forms' node structure for the future in Serclipse?
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Minimise Forms Listing in Solution Explorer?

Postby jcompagner » Wed Feb 25, 2009 12:43 pm

it is in the planning that you have something like labels/tags on forms and those tags are then a filter on the forms. (so you can have a label that is a table label which would be what 3.5 does)
dont know in which servoy version will get that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Minimise Forms Listing in Solution Explorer?

Postby Kahuna » Wed Feb 25, 2009 1:00 pm

jcompagner wrote:it is in the planning that you have something like labels/tags on forms and those tags are then a filter on the forms. (so you can have a label that is a table label which would be what 3.5 does)
dont know in which servoy version will get that.


Thanks Johan - the sooner the better for me - forms are building fast and navigating them is more and more of a challenge. Naming conventions help but it seems a shame to change a currently successful (and favourite) naming convention to make the tree navigation easier. Seems sensible to blend the tools around the way development works rather than the other way around.

I know you guys will do the best you can for us - you always do!
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: Minimise Forms Listing in Solution Explorer?

Postby jcompagner » Wed Feb 25, 2009 2:40 pm

but ctrl-shift-l is really your friend here

In java development we also have many ways of displaying our code/classes but i never really walk over thsoe tree's/lists to open a class up
i use also a search dialog. it is way way faster then anything else.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Minimise Forms Listing in Solution Explorer?

Postby david » Wed Feb 25, 2009 9:46 pm

We have found that by far the most effective form naming convention is one that alphabetically lists "form sets". A "form set" defined as a top level form and all the forms associated with it (through tab panels or form in dialogs).

It makes finding that 4th level deep form a snap -- just eyeball the top level form name and all the included forms are listed under it.

With the filter, you can easily display a specific set of forms that you are working on. We have many hundreds of forms and getting to where we need to go is never an issue.

Seeing all forms by table was never a useful view for us so never used it.
Attachments
Picture 35.png
Picture 35.png (48.95 KiB) Viewed 5837 times
Picture 36.png
Picture 36.png (26.84 KiB) Viewed 5837 times
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Minimise Forms Listing in Solution Explorer?

Postby jcompagner » Wed Feb 25, 2009 10:13 pm

personally i dont like that to much.

What does decide that it gets an A or a B or a C?

i find that you should name stuff based on what they are or what they do. Not based on how it would sort in a specific list.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Minimise Forms Listing in Solution Explorer?

Postby david » Wed Feb 25, 2009 10:23 pm

The naming convention does more than just order the forms:

- table it is based on
- whether it is a form, list or FID
- what level down it is in the form set
- (optionally) what function it has

That's a lot of good information. Ordering by form set in the navigator makes it all easy to stay oriented by how we work (which is by form sets, not tables or individual form functionality).
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 9 guests