ext.plantuml.com.ctreber.acearth.plugins.Plugin Maven / Gradle / Ivy
package ext.plantuml.com.ctreber.acearth.plugins;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import ext.plantuml.com.ctreber.acearth.ACearth;
import ext.plantuml.com.ctreber.acearth.gui.PixelCanvas;
import ext.plantuml.com.ctreber.acearth.projection.Projection;
/**
*
*
* © 2002 Christian Treber, [email protected] (Nov 6, 2002)
* @author Christian Treber, [email protected]
*
*/
abstract public class Plugin implements ActionListener
{
protected ACearth fParent;
protected boolean fActiveP = true;
protected Projection fProjection;
protected PixelCanvas fRenderTarget;
public void actionPerformed(ActionEvent e)
{
}
abstract public boolean hasGUIP();
abstract public void render();
public void setProjection(Projection pProjection)
{
fProjection = pProjection;
}
public void setRenderTarget(PixelCanvas pRenderTarget)
{
fRenderTarget = pRenderTarget;
}
public void setParent(ACearth pParent)
{
fParent = pParent;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy