[jira] Created: (GEOT-2823) Write RenderingExecutor against an Interface

2 messages Options
Embed this post
Permalink
JIRA jira@codehaus.org

[jira] Created: (GEOT-2823) Write RenderingExecutor against an Interface

Reply Threaded More More options
Print post
Permalink
Write RenderingExecutor against an Interface
--------------------------------------------

                 Key: GEOT-2823
                 URL: http://jira.codehaus.org/browse/GEOT-2823
             Project: GeoTools
          Issue Type: Improvement
          Components: ext mappane
    Affects Versions: 2.6.0
            Reporter: Stefan Alfons Krüger
            Assignee: Michael Bedward
             Fix For: 2.6.1


RenderingExecutor should be written against an interface or work with listeners. Users (like me) have implemented their own "JMapPane"s and RenderingExecutor can only be used with org.geotools.swing.JMapPane.

The functions i am talking about:
mapPane.onRenderingCancelled();
mapPane.onRenderingCompleted();
mapPane.onRenderingFailed();

Catch me on IRC during the week if you want to chat about it: i am alfonx

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
mbedward

Re: [jira] Created: (GEOT-2823) Write RenderingExecutor against an Interface

Reply Threaded More More options
Print post
Permalink
Hello Stefan,

I think this is probably a good idea but I'd be interested to hear
what others think who have been involved with the library, and it's
various attempts at GUI modules, for much longer than I have.

One of the reasons for my caution is that one could imagine JMapPane's
various bits being formalized into a number of interfaces. The old
swing-widgets module had a DeformableViewer interface and a ZoomPane
abstract class, neither of which I've used in JMapPane (nor did Ian
whose JMapPane code was the starting point for the current class).

There is also the rule that we've set ourselves (sensibly I think) to
keep the swing module simple and modest in scope. I wonder if defining
interfaces might be seen by some as akin to setting standards -
something that it could be argued the swing module isn't there to do.

Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel