openjump-gis / openjump

OpenJUMP, the Open Source GIS with more than one trick in its kangaroo pocket, takes the leap from svn to git. join the effort!
http://openjump.org
GNU General Public License v2.0
28 stars 14 forks source link

Missing super.initialize() #39

Closed mukoki closed 2 years ago

mukoki commented 2 years ago

Selecting all features with Ctrl-A throws

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Add super.initialize() to your AbstractPlugIn.initialize() implementation! org.openjump.core.ui.plugin.edit.SelectAllLayerItemsPlugIn at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn.getContext(AbstractPlugIn.java:412) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn.getEnableCheck(AbstractPlugIn.java:233) at com.vividsolutions.jump.workbench.ui.ShortcutPluginExecuteKeyListener.keyPressed(ShortcutPluginExecuteKeyListener.java:97)

edeso commented 2 years ago

just looking at it and find we have lot's of Core plugins not promoting the context, will provide a patchset for all i can find