@Override public void initialize(PlugInContext context) throws Exception { super.initialize(context); GeopistaNetworkEditingPlugIn geopistaNetworkEditingPlugIn = (GeopistaNetworkEditingPlugIn) (context.getWorkbenchContext().getBlackboard().get(GeopistaNetworkEditingPlugIn.KEY)); geopistaNetworkEditingPlugIn.addAditionalPlugIn(this); }
public void initialize(PlugInContext context) throws Exception { Locale loc = I18N.getLocaleAsObject(); ResourceBundle bundle = ResourceBundle.getBundle( "com.geopista.ui.plugin.routeenginetools.tsp.language.RouteEngine_TSPi18n", loc, this.getClass().getClassLoader()); I18N.plugInsResourceBundle.put("tsp", bundle); GeopistaNetworkEditingPlugIn geopistaNetworkEditingPlugIn = (GeopistaNetworkEditingPlugIn) (context.getWorkbenchContext().getBlackboard().get(GeopistaNetworkEditingPlugIn.KEY)); geopistaNetworkEditingPlugIn.addAditionalPlugIn(this); }