Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Clarifications on Legend View Spec

You can also go over the eclipse user interface guidelines; indeed now is a good time before cutting much code :-)

-- 
Jody Garnett

On Tuesday, 14 February 2012 at 12:28 PM, Nazareno Chan wrote:

Alright, ill try to work these out. Giving the user multiple options is a good idea. Anyways, ill try to implement a working one first.

 

From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Tuesday, 14 February 2012 10:57 AM
To: User-friendly Desktop Internet GIS
Cc: Jody Garnett; Paul Pfeiffer
Subject: Re: [udig-devel] Clarifications on Legend View Spec

 

Or perhaps just the name? There is a new project action that may work as an example. 

 

I have other ideas of course

 

You could take the one or more selected layers and move them into the folder.  In that case you could make the default name based on the layer resource keywords; especially if they all have a keyword on common.

 

Considered making a folder if you drop a layer onto another layer; combined with the idea of a default name created from keywords it would be pretty handy. 

 

In any case those are just my ideas one if the nice things about open source is the person doing the work gets the final say. We do a code review but only against the eclipse house rules etc functionality is up to you. 

--

Jody Garnett


On 13/02/2012, at 7:43 AM, Nazareno Chan <Nazareno.Chan@xxxxxxxxxxxx> wrote:

The wizard idea sounds good. What attributes of the folder needs to be inputted in the wizard? From Paul’s ERD, name and the flag to show or not?

 

Thanks,

Naz Chan

 

From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Saturday, 11 February 2012 12:23 AM
To: User-friendly Desktop Internet GIS
Cc: Jody Garnett; Paul Pfeiffer
Subject: Re: [udig-devel] Clarifications on Legend View Spec

 

How about a new wizard? You could have a shortcut on the view toolbar?

--

Jody Garnett


On 10/02/2012, at 4:42 PM, Nazareno Chan <Nazareno.Chan@xxxxxxxxxxxx> wrote:

Hi Jody, Paul,

 

Just want to clarify some details about the ‘folder’ grouping functionality:
- How is a folder added? Toolbar button/context menu? Or are the folders specified with the data?

 

Thanks,

Naz Chan

 

From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Wednesday, 8 February 2012 5:39 PM
To: User-friendly Desktop Internet GIS
Cc: Paul Pfeiffer
Subject: Re: [udig-devel] Clarifications on Legend View Spec

 

Updated the docs with this example; including an example showing how to change layer stuff with a command. 

 

 

You will need to do something like this when you toggle visibility.

 

Summary:

- ILayer - read-only from any thread

- Layer - only modify from a map command issued via map.sendCommandASync( command ) method

-- 

Jody Garnett

 

On Wednesday, 8 February 2012 at 4:32 PM, Nazareno Chan wrote:

Noted on this. Thanks!

 

From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Wednesday, 8 February 2012 5:26 PM
To: User-friendly Desktop Internet GIS
Cc: Paul Pfeiffer
Subject: Re: [udig-devel] Clarifications on Legend View Spec

 

Had a quick look at LayerInteractionPropertyPage.

 

This seems to be the check:

 

if( layer.getInteraction( Interaction.BACKGROUND ) ){

   // background layer

}

 

-- 

Jody Garnett

 

On Wednesday, 8 February 2012 at 3:55 PM, Nazareno Chan wrote:

Hi Paul,

 

Can you give me details on the item #2 below?

 

Thanks,

Naz Chan

 

From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
Sent: Wednesday, 8 February 2012 12:14 PM
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] Clarifications on Legend View Spec

 

Comments inline:

 

1. In the current Layers View, there are Style, Mylar, Zoom buttons, will these be retained in the Legend View?

Sure; we will need to balance between the space in the view toolbar; with any leftovers going into the view menu.

2. For the toggle background layers functionality, what are considered background layers?

The one marked as background; paul made a flag we could check.

3. The functionality for the ordering of layers, will through a context menu? Toolbar buttons?

Probably both:
1) for view menu you can make an action that is enabled when the selection is a layer
2) same deal with context menu

There should already be a move up and move down command which your action can submit to the Map when pressed.

4. For the consider part of the RFC, the grid toggle functionality will be to toggle just the grid layer?

- What will be the default behaviour? Shown/hidden? 


Um - toggled if a grid layer is present in the layer list (and turned visible); otherwise it would be up.

- Will the layer be auto-added on first open of the view?

Sure; do one pass of the layers list and see if you find a grid to turn visible first. If not add one to the top of the list.

 

If you are using one of the edit tools; and cycle through the list of snapping options you can watch a grid be automatically added and removed this way already.

- Will this override the 'toggle map graphics' functionality?

Not related; the map graphics toggle is only controlling if the layers are listed in the legend view.
The grid toggle is controlling if they grid is visible on the map.
So you can toggle the grid on and off; it does not matter if it is shown in the legend view or not.

Jody

 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

_______________________________________________

User-friendly Desktop Internet GIS (uDig)

 

 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

_______________________________________________

User-friendly Desktop Internet GIS (uDig)

 

 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)


Back to the top