Hei Carl,

what I do is using the blackboard.
e.g. one plugin dies this:

context.getWorkbenchContext().getBlackboard().put(IS_DATASET_ID, datasetid);

and the other this:
datasetid=context.getWorkbenchContext().getBlackboard().getInt(IS_DATASET_ID);

note:
. instead of blackboard.getInt() also other functions exists for 
objects, e.g. blackboard.get()
. IS_DATASET_ID is a unique String

However, I am not sure if this is the smartest solution - i.e. in terms 
of memory management.
Maybe somebody else has better experiences.

Stefan

Carl Grönniger wrote:
> hello,
>  
> i am new user of this list and the openjump software. i want to build an 
> extension with different functions. with the help of the plugin-tutorial 
> i did easy plugins, e.g. one which do db access, other changes 
> attributes or schema..). however, can somebody say to me whether 
> dependencies between the plugins are possible or how the communication 
> is between those? example: i would like to have something like 'project 
> settings' (e.g. choose db and standard layer) and when i call another 
> plugin this one should use the settings...
> or does anybody have other tips for building extensions?
> i hope someone can understand what i mean in spite of my bad english.
>  
> best regards from germany
> carl
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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

Reply via email to