From: Sunburned S. <sun...@gm...> - 2009-09-29 20:53:57
|
Another way to study OpenJUMP is as a set of systems that focus on a set of tasks. For example: - The rendering system, which controls the display and appearance of spatial data in OpenJUMP. - The I/O system, which controls the input and output of spatial data. - The cursor tool system, which controls user interaction with the map (LayerViewPanel). - The plug-in management system, which allows functionality to be loaded modularly. As Larry mentioned, by checking out just a few key classes in Eclipse you can weave your way through the most important parts of the code. I use the "open call heirarchy" function in Eclipse to do this quite frequently when I am lurking around in OpenJUMP's core. Some of these key classes you can start investigating are: JUMPWorkbech WorkbenchContext PlugInManager PlugInContect LayerViewPanel RenderingManager DataSource Layer LayerManager The Sunburned Surveyor On Tue, Sep 29, 2009 at 1:31 PM, Larry Becker <bec...@gm...> wrote: > We seem to be getting a lot of requests for object models lately. IMHO, > object models do not help much in understanding how JUMP works. Eclipse > constructs these on-the-fly, after all. You would be better off studying > the event handling and threading. JUMP is best thought of as a loose > association of plug-ins that cooperate though a hierarchy of event handlers > managed by the Workbench. > > Larry > > On Tue, Sep 29, 2009 at 2:54 PM, Stefan Steiniger <ss...@ge...> wrote: >> >> however, if you want to stick to java then there is only geotools (as a >> library package), gvSIG and uDig .. the later maybe as difficult to >> customize but may have better documentation: >> see: >> >> http://www.spatialserver.net/osgis/ >> >> >> Sunburned Surveyor wrote: >> > I agree with Larry's comments. What you are talking about can be done, >> > but I think it would be a challenge even for some of our more >> > experienced OpenJUMP programmers. OpenJUMP is quite a beast. >> > >> > Check the developer's guide, and then ask on this mailing list if you >> > have specific questions about OpenJUMP's architecture. >> > >> > The Sunburned Surveyor >> > >> > On Tue, Sep 29, 2009 at 10:46 AM, Larry Becker <bec...@gm...> >> > wrote: >> >> The JUMP Developer Guide is the best source of design information. >> >> What you >> >> are trying to do is very difficult. It has been done, but since they >> >> were >> >> external projects, no information or source code was ever returned to >> >> the >> >> project. You might want to investigate a more appropriate toolkit like >> >> GeoTools. >> >> >> >> regards, >> >> Larry Becker >> >> >> >> On Tue, Sep 29, 2009 at 12:11 PM, Jayaram Reddi <jr...@gm...> >> >> wrote: >> >>> Hello all, >> >>> >> >>> I am new to OpenJump and I would like to request some help with >> >>> developing external applications using OpenJump's API. I would like to >> >>> use >> >>> the visualization and processing capabilities of OJ in my own java >> >>> application. I have spent a few hours looking through the >> >>> documentation and >> >>> wading through the mailing list archives hoping to find some leads >> >>> into >> >>> developing applications with OJ. I cam across the one sample file with >> >>> code >> >>> on how to use the layerviewpanel and load a few shapefiles into it. >> >>> From >> >>> there on its been difficult to figure out which objects do what and in >> >>> what >> >>> order or arrangement, Is there an object model diagram available? As >> >>> of now >> >>> I would like to make a simple GIS viewer that can add layers and list >> >>> them. >> >>> If i can manage that I'll try my hand at something more advanced. My >> >>> eventual goal is to integrate it with an agent based model i have >> >>> written in >> >>> java. >> >>> >> >>> Appreciate any help. >> >>> >> >>> Jayaram >> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> Come build with us! The BlackBerry® Developer Conference in SF, CA >> >>> is the only developer event you need to attend this year. Jumpstart >> >>> your >> >>> developing skills, take BlackBerry mobile applications to market and >> >>> stay >> >>> ahead of the curve. Join us from November 9-12, 2009. Register >> >>> now! >> >>> http://p.sf.net/sfu/devconf >> >>> _______________________________________________ >> >>> Jump-pilot-devel mailing list >> >>> Jum...@li... >> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >>> >> >> >> >> >> >> -- >> >> Larry Becker >> >> Integrated Systems Analysts, Inc. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> >> is the only developer event you need to attend this year. Jumpstart >> >> your >> >> developing skills, take BlackBerry mobile applications to market and >> >> stay >> >> ahead of the curve. Join us from November 9-12, 2009. Register >> >> now! >> >> http://p.sf.net/sfu/devconf >> >> _______________________________________________ >> >> Jump-pilot-devel mailing list >> >> Jum...@li... >> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> >> >> >> > >> > >> > ------------------------------------------------------------------------------ >> > Come build with us! The BlackBerry® Developer Conference in SF, CA >> > is the only developer event you need to attend this year. Jumpstart your >> > developing skills, take BlackBerry mobile applications to market and >> > stay >> > ahead of the curve. Join us from November 9-12, 2009. Register >> > now! >> > http://p.sf.net/sfu/devconf >> > _______________________________________________ >> > Jump-pilot-devel mailing list >> > Jum...@li... >> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > >> > >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jum...@li... >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > -- > Larry Becker > Integrated Systems Analysts, Inc. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Jump-pilot-devel mailing list > Jum...@li... > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > |