Hi.

I wrote a bunch of methods to mock some components of openjump to do unit
tests and functional tests. I'm planning to use this knowledge to write an
external application using the openjump-api.

I spend several hours to figure out, how to mock them and hope to contribute
some of my code. As soon as I am back at work (monday) I'll try to post some
source code.

2009/9/30 Jayaram Reddi <jre...@gmail.com>

> Thanks for the feedback! I have been looking at the source code and piecing
> together bits, but its a formidable task. I asked for an object model
> diagram because i used them quite extensively when i developed some simple
> applications with ArcGIS, the OMD helped quite a bit in understanding which
> object made up which component, e.g. so and so objects are needed to
> construct the table of contents.
>
> Help is much appreciated, hopefully in the future i'll have something to
> contribute.
>
> Jayaram
>
>
> On Wed, Sep 30, 2009 at 2:24 AM, Sunburned Surveyor <
> sunburned.surve...@gmail.com> wrote:
>
>> Also, don't underestimate this mailing list as a resource. If you ask
>> intelligent and well thought-out questions (after you've looked at the
>> Javadoc and peeked at the source code) you will get intelligent, well
>> thought-out answers from some of our best programmers.
>>
>> The Sunburned Surveyor
>>
>> On Tue, Sep 29, 2009 at 1:53 PM, Sunburned Surveyor
>> <sunburned.surve...@gmail.com> wrote:
>> > 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 <becker.la...@gmail.com>
>> 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 <sst...@geo.uzh.ch>
>> 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 <
>> becker.la...@gmail.com>
>> >>> > 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 <jre...@gmail.com>
>> >>> >> 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&reg; 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&#45;12, 2009. Register
>> >>> >>> now&#33;
>> >>> >>> http://p.sf.net/sfu/devconf
>> >>> >>> _______________________________________________
>> >>> >>> Jump-pilot-devel mailing list
>> >>> >>> Jump-pilot-devel@lists.sourceforge.net
>> >>> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >>> >>>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> Larry Becker
>> >>> >> Integrated Systems Analysts, Inc.
>> >>> >>
>> >>> >>
>> >>> >>
>> ------------------------------------------------------------------------------
>> >>> >> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> >>> >> now&#33;
>> >>> >> http://p.sf.net/sfu/devconf
>> >>> >> _______________________________________________
>> >>> >> Jump-pilot-devel mailing list
>> >>> >> Jump-pilot-devel@lists.sourceforge.net
>> >>> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> ------------------------------------------------------------------------------
>> >>> > Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> >>> > now&#33;
>> >>> > http://p.sf.net/sfu/devconf
>> >>> > _______________________________________________
>> >>> > Jump-pilot-devel mailing list
>> >>> > Jump-pilot-devel@lists.sourceforge.net
>> >>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >>> >
>> >>> >
>> >>>
>> >>>
>> >>>
>> ------------------------------------------------------------------------------
>> >>> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> >>> now&#33;
>> >>> http://p.sf.net/sfu/devconf
>> >>> _______________________________________________
>> >>> Jump-pilot-devel mailing list
>> >>> Jump-pilot-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >>
>> >>
>> >>
>> >> --
>> >> Larry Becker
>> >> Integrated Systems Analysts, Inc.
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> now&#33;
>> >> http://p.sf.net/sfu/devconf
>> >> _______________________________________________
>> >> Jump-pilot-devel mailing list
>> >> Jump-pilot-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> >>
>> >>
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register
>> now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to