Hi Stefan, I just looked at the code and it appears we already have a selectable property in Layer. However, the setSelectable() method is currently only called from ImageFeatureCreator. The isSelectable() method is called in AbstractSelection, so it appears that all we need to do to add a menu item "Selectable" right below "Editable".
regards, Larry On 9/17/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > I'd like to use Layerable, since that will give us more flexibity down the > road. > > SS > > On 9/13/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote: > > yep! > > > > i agree, and this reminds me on having the same for features that show > > the most prominent "what i want to know about" .. ie. number of > > vertices, geom-type, inner rings, perimeter, area, centroid coords,.. > > > > furthermore there was the idea to give layers 4 states: > > - editable (selectable, snapping on) > > - hitable (selectable, snapping on) > > - visible (not selectable, snapping on) > > - invisible > > or something like that. This is beneficial if one digitizes. > > > > where would be the best position to add such a layer attribute. > > Layerable? or Layer? > > > > stefan > > > > Michaël Michaud schrieb: > > > Hi Larry, > > > > > > Excellent plugin ! > > > > > > Michaël > > > > > > Larry Becker a écrit : > > > > > >> 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. It works on single or multiple > > >> layer selections. It also includes a transparency adjustment slider > > >> that works for layer selections. Language file entries have been > > >> made. Only the German translation is currently completed. There were > > >> 19 strings - I got tired. :-) > > >> > > >> This is basically the beginnings of duplicating the ArcMap layer > > >> properties functionality. However, this property sheet is designed to > > >> work with multiple layers at once. SkyJUMP has had this for a while, > > >> but I haven't gotten around to a general release yet. > > >> > > >> regards, > > >> Larry Becker > > >> > > >> > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jump-pilot-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- http://amusingprogrammer.blogspot.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel