Thanks Larry. I did not know plygin.xml or workbench-properties.xml.




From: Larry Becker 
Sent: Sunday, October 05, 2008 9:42 PM
To: OpenJump develop and use 
Subject: Re: [JPP-Devel] Combine and Explode Layers


Hi Bing,

>Any reason you avoid using generics in the code?

Just laziness, I guess.  I cut and pasted code from older plugIns that didn't 
use generics.  All of the original JUMP code (and the ISA plugIn code) was 
written to the Java 1.4 standard.

We have mostly stopped putting plugIn references in jump configuration.  They 
now go into standard-plugins.xml.  Local plugIn references are put into 
workbench-properties.xml.

regards,
Larry


On Sat, Oct 4, 2008 at 12:12 AM, Bing Ran <[EMAIL PROTECTED]> wrote:

  Larry,

  It's a really nice plugin. Any reason you avoid using generics in the code? I 
like the readability that generics brings.

  Question about the deployment of the plugin: does the mvn build process has 
the structure to build it as a standalone plugin? It looks like the source code 
is part of the built-in plugin but you don't have reference to the plugin in 
the jump configuration. 

  Thanks

  Bing



  From: Larry Becker 
  Sent: Thursday, October 02, 2008 3:34 AM
  To: OpenJump develop and use 
  Subject: Re: [JPP-Devel] Combine and Explode Layers


  I have finally gotten around to implementing the plugin (mentioned in my post 
below) that extracts layers using a common attribute.  It is especially good 
for extracting DXF layers using the Layer and Text attributes, which is my 
primary use case.  I have committed the code with I18n references.  I'll add 
the strings to the language property files as soon as possible.  Comments are 
welcome.  Look for it at the bottom of the Edit menu in the nightly build.

  regards,
  Larry Becker


  On Wed, Jul 9, 2008 at 4:33 PM, Larry Becker <[EMAIL PROTECTED]> wrote:

    I'm thinking of creating two new plugins for Layers that are similar to the 
"Combine Selected Features" and its inverse "Explode Selected Features".  
However, the new plugins would be "Combine Selected Layers" and "Explode 
Layer".  Explode Layer would include the existing "Edit->Extract Layers by 
Geometry Type" functionality, and add the capability to explode a layer by 
attribute value.  That is, it would create a new layer for each unique value of 
a given attribute. One possible use for this would be to break up a DXF import 
layer by original layer name.  You could also break up a layer that you are 
colour theming, do some operations, and then recombine it.

    Combine Selected Layers would allow you to combine LineString, Point, and 
Polygon shapefile layers into a single layer to save as GML or other 
multi-geometry tolerant format.  Attributes would, of course, be preserved.  
Preservation of BasicStyle information is also possible with a kind of 
auto-theming.  All changes would be done by replicating features to new layers, 
leaving the original layers undisturbed.

    "Step right up ladies and gentlemen, it's the OJ-matic!  Slices one layer 
so thin, it will last all winter."  :-)

    Any thoughts?

    regards,
    Larry
    -- 
    http://amusingprogrammer.blogspot.com/ 



  -- 
  http://amusingprogrammer.blogspot.com/



------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/ 


------------------------------------------------------------------------------


  _______________________________________________
  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 the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/
  _______________________________________________
  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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 


--------------------------------------------------------------------------------


_______________________________________________
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to