Package org.geoforge.mdldsp.plugin

Source Code of org.geoforge.mdldsp.plugin.GfrMdlDspPlgAbs

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.mdldsp.plugin;

import java.io.File;
import org.geoforge.mdldsp.GfrMdlDspAbs;
import org.geoforge.mdldsp.event.plugin.EvtMdlDspPlgsRemoved;
import org.geoforge.mgrplg.handler.IGfrHandlerPlugin;

/**
*
* @author robert
*/
abstract public class GfrMdlDspPlgAbs extends GfrMdlDspAbs
{
   abstract public IGfrHandlerPlugin add(File fleSource) throws Exception;
   abstract public boolean remove(IGfrHandlerPlugin plg) throws Exception;
  
   // ---
   /*
    * what about existing internal frames?
    * ==> taking care in calling method
    */
   public boolean removeAll() throws Exception
   {
      super.setChanged();
      Object obj = new EvtMdlDspPlgsRemoved();
      super.notifyObservers(obj);
     
      return true;
   }
  
   // ---
  
   protected GfrMdlDspPlgAbs()
   {
      super();
   }
}
TOP

Related Classes of org.geoforge.mdldsp.plugin.GfrMdlDspPlgAbs

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.