@Override
  public void initialize(PlugInContext context) throws Exception {
    super.initialize(context);

    GeopistaNetworkEditingPlugIn geopistaNetworkEditingPlugIn =
        (GeopistaNetworkEditingPlugIn)
            (context.getWorkbenchContext().getBlackboard().get(GeopistaNetworkEditingPlugIn.KEY));
    geopistaNetworkEditingPlugIn.addAditionalPlugIn(this);
  }
예제 #2
0
  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);
  }