Hei Matthias,

yes - OpenJUMP has at least 2 blackboards:
- a persistent blackboard
- a blackboard that comes with the context

http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg00249.html
and
http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg01278.html

however, I don't know if there is any documentation.
I guess the easiest way is to search "Blackboard" in the course code.
If it is possible, can I ask you to report back on that and maybe create 
a wiki page in the programming section?

stefan

Matthias Scholz schrieb:
> Hi,
> 
> during my works on the selection styling enhancement, i have a problem
> with the Blackboard.
> Is it possible, that OJ have more than one Blackboard instance? In the
> com.vividsolutions.jump.workbench.ui.plugin.OptionsPlugIn i call the
> constructor of my new SelectionStyllingOptionsPanel with
> "context.getWorkbenchContext().getWorkbench().getBlackboard()". In the
> SelectionStyllingOptionsPanel i use the get/put Methods from the
> Blackboard. But if i try to access to this blackboard values in
> com.vividsolutions.jump.workbench.ui.renderer.AbstractSelectionRenderer
> i get no success. The keys are not available in panel.getBlackboard().
> If i get the Blackboard with
> ((WorkbenchFrame)panel.getContext()).getContext().getBlackboard() call,
> then i get my previously stored values.
> Next problem is that my values are not saved in the workbench-state.xml.
> 
> What is the proper method to get the a correct instance of the
> Blackboard or what i doing wrong?
> 
> Matthias
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to