Re: [JPP-Devel] Layer Properties

2007-09-11 Thread Paul Austin
Hi Larry, Sounds great, this is something that could fit into my dockable windows stuff nicely. Which I'll be releasing a preview release of very shortly. Paul Larry Becker wrote: > A new feature was added last night which adds a menu item "Layer > Properties" to the Layer Name right click menu

[JPP-Devel] Layer Properties

2007-09-11 Thread Larry Becker
A new feature was added last night which adds a menu item "Layer Properties" to the Layer Name right click menu. This feature will display layer information and statistics such as name, number of features, number of points, number of attributes, geometry type, DataSource class, and source path.

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
Larry, I haven't finsished the code for the toolbox or any of the toolbox buttons. If you can wait until the end of the week you can have everything, and I will place the code on the SurveyOS SVN repository. If all you are interested in is the SuperSelectCursorTool class I will send you the java

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Larry Becker
Can you send me a link you your code? I may want to borrow this tool for SkyJUMP. We're pretty SELECTive. regards, Larry On 9/11/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > I meant to say "It is quite possible > that some of our programmers know the SELECTION code better than I do." > >

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
I meant to say "It is quite possible that some of our programmers know the SELECTION code better than I do." I don't think there is any doubt that almost everybody on this list knows more about OpenJUMP's code in general than I do. :] I don't want you guys to think that I am getting cocky. SS O

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
Roger that. On 9/11/07, Larry Becker <[EMAIL PROTECTED]> wrote: > I think that putting it on the Edit menu with all of the other Select > items is good. If we make the decision later on to have a Select > submenu, then it can get moved along with all of the others. > > regards, > Larry > > On 9/1

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
Yes I meant changes to the OJ core. Of course I will propose any refactoring on this list so it can be discussed. It is quite possible that some of our programmers know the code better than I do. In fact, I saw some comments in the code from Ole and I think he even made a utility class called Sele

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Larry Becker
I think that putting it on the Edit menu with all of the other Select items is good. If we make the decision later on to have a Select submenu, then it can get moved along with all of the others. regards, Larry On 9/11/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > Larry, > > You wrote: " C

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Stefan Steiniger
nice that you detailed outline your program > - Refactoring of some source code in the SelectTool class, the > AbstractSelection class, and the FeatureSelection class. ( I have > already added some source code comments to these classes.) which probably needs to be discussed.. if you want to apply

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
Larry, You wrote: " Congrats! Sounds like a cool new tool. How are you going to invoke it?" I had imagined the toolbox would be launched from a menu item. I still haven't decided which top-level menu this item will best fit in. I can make a new Edit>Select menu for this item and the other select

Re: [JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Larry Becker
Hi SS, Congrats! Sounds like a cool new tool. How are you going to invoke it? If you want a wrench icon, Wrench.gif and WrenchCursor.gif are already in the images folder. Also BigWrench.gif. regards, Larry On 9/11/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > I've finished writing a

[JPP-Devel] SuperSelectCursorTool

2007-09-11 Thread Sunburned Surveyor
I've finished writing a new selection tool for OpenJUMP. The SuperSelectCursorTool extends the current SelectTool and allows more elegant control of the tools selection behvaior. Instead of using the control and shift buttons to control the selection behavior the user will set "selection modes" usi

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-11 Thread Paul Austin
Malte, Did you turn off firing events on the layer manager before starting to make your changes? Paul Larry Becker wrote: > Oh, I figured the first answer was a little too obvious. 8-) > > As to where the CTS object is coming from, I think it is > LayerTreeModel.getChildren(): > > if (pa

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-11 Thread Larry Becker
Oh, I figured the first answer was a little too obvious. 8-) As to where the CTS object is coming from, I think it is LayerTreeModel.getChildren(): if (parent instanceof Layer && ColorThemingStyle.get((Layer) parent).isEnabled()) { ... ColorThemingStyle.get() is:

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-11 Thread Malte Weller
Hi Larry, thanks for your reply. I know that the CTS added first should be removed first. ;-) But I was only able to remove that after I added the second one. In my Thread I look at the Style-List of my new Layer if it holds a CTS Object. If so, I try to remove it because my new CTS Object sh

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-11 Thread Larry Becker
Hi Malte, If I understand you correctly, I guess I'm not surprised at the fact that a Style added first would be removed first since the underlying data structure is an ArrayList. The javadoc for ArrayList says that list.remove(o) will delete the first occurance of o in list. regards, Larry B