[JPP-Devel] LayerViewPanel Widget

2013-09-20 Thread Landon Blake
Has anyone extracted the LayerViewPanel as a stand-alone widget for Swing
Programs?

I was thinking about doing this, or of coding something similar from
scratch, but I wanted to ask here first.
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] LayerViewPanel Widget

2013-09-20 Thread Larry Becker
Hi Landon,

There used to be a demo folder in the project under
com/vividsolutions/jump.  It had a folder with a stand-alone layer view
panel demo.  Of course it had a few dependencies, but I think it comes
close to what you are attempting.  I still have it in the SkyJump project
on sourceforge, and JUMP 1.2 is still available for download.  And the
original JUMP Developer Guide is useful when attempting something like
this.  People mostly have forgotten that document and that it contains help
on how to use JUMP components in other apps.

regards,
Larry


On Fri, Sep 20, 2013 at 1:15 PM, Landon Blake
sunburned.surve...@gmail.comwrote:

 Has anyone extracted the LayerViewPanel as a stand-alone widget for Swing
 Programs?

 I was thinking about doing this, or of coding something similar from
 scratch, but I wanted to ask here first.


 --
 LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
 SharePoint
 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
 includes
 Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
 http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] LayerViewPanel Widget

2013-09-20 Thread Paul J. Morris
On Fri, 20 Sep 2013 11:15:58 -0700
Landon Blake sunburned.surve...@gmail.com wrote:
 Has anyone extracted the LayerViewPanel as a stand-alone widget for
 Swing Programs?

I've used the LayerViewPanel and TreeLayerNamePanel in SMT - SAR
Manager Toolkit http://sarmanager.sourceforge.net/ 

 I was thinking about doing this, or of coding something similar from
 scratch, but I wanted to ask here first.

Current OpenJump places some constraints on what seems to be able to be
done easily.  I had to make a few changes to get things to work, see:
http://sourceforge.net/p/sarmanager/code/HEAD/tree/trunk/SMT/lib/openjump1.4.3alpha_rev2524.patch

I also found that I needed to embedd these into a class that extended a
JInternalFrame: 

public class MapInternalFrame extends JInternalFrame implements 
LayerManagerProxy, LayerViewPanelProxy, TaskFrameProxy, LayerNamePanel, 
LayerNamePanelProxy, SelectionManagerProxy  { ...

http://sourceforge.net/p/sarmanager/code/HEAD/tree/trunk/SMT/src/net/aa3sd/SMT/ui/MapInternalFrame.java

I haven't gone digging very far, but it did find dependencies in the
OpenJump classes/interfaces on JInternalFrame (rather than the more
general JComponent) that appeared to prevent (unless I was missing
something) things like embedding a LayerViewPanel in a JPanel and a
TreeLayerNamePanel in another JPanel without there being an enclosing
JInternalFrame.   

And, greetings to all.  Have been lurking for a while, but haven't had
a chance to introduce myself, or describe what I've been trying to
accomplish with OpenJump.  I keep hoping I'll have time to contribute,
particularly to improving support for projections, but haven't had a
chance to yet.  Great platform, thanks to everyone involved for all the
good work. 

-Paul
-- 
Paul J. Morris
Biodiversity Informatics Manager
Harvard University Herbaria/Museum of Comparative Zoölogy
m...@morris.net  AA3SD  PGP public key available

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel