Andreas, This is a good question, as I know I've gotten to some places in the code where I didn't have access to a PlugInContext, WorkbenchContext, or Blackboard.
Let me look at the API today at lunch and I will respond with any comments. The Sunburned Surveyor On Tue, Jun 3, 2008 at 6:33 AM, Andreas Schmitz <[EMAIL PROTECTED]> wrote: > Hi, > > I'm wondering. If I've got a reader (JUMPReader) and I'm using it in a > DataSource, I often run into the problem of communicating data that was read > from the file to the application. Example: > > I'm parsing a MapInfo file and would like to store the parsed style > information > somewhere. From the reader/datasource I've no access to a global Map or the > generated layer. The only thing I have is the feature collection that is > created. To work around the problem, I wrote another plugin that reads and > applies the style information (since plugins have the PlugInContext > containing a > whole lot of information). > > Is there a way how I can communicate information from the reader to the rest > of > OpenJUMP? Maybe we could add a hook like > > public void postLayerCreation(Layer layer); > > to the JUMPReader interface? > > Best regards, Andreas > -- > l a t / l o n GmbH > Aennchenstrasse 19 53177 Bonn, Germany > phone ++49 +228 18496-12 fax ++49 +228 1849629 > http://www.lat-lon.de http://www.deegree.org > > ------------------------------------------------------- > On June 17 is deegree day - Am 17. Juni ist deegree day > http://deegree.org/deegreeday > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIRUgP737OVr+Ru7oRAtYjAJ9gqhAAuErZfs49NdHN+QZiiwjurgCeLQQE > qmPKsPsw0CNNRwZJCTqUE+U= > =zyq/ > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel