org.gvsig.raster.reproject.app
Class ReprojectListener

java.lang.Object
  extended by org.gvsig.raster.reproject.app.ReprojectListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, org.gvsig.raster.algorithm.process.IProcessActions

public class ReprojectListener
extends java.lang.Object
implements java.awt.event.ActionListener, org.gvsig.raster.algorithm.process.IProcessActions

Actions for the reprojection panel

Author:
Nacho Brodin (nachobrodin@gmail.com)

Constructor Summary
ReprojectListener(org.gvsig.fmap.mapcontext.layers.FLayer lyr, org.gvsig.raster.reproject.algorithm.swing.api.ReprojectionPanelDataModel dataModel, ReprojectWindow window, org.gvsig.raster.reproject.algorithm.swing.api.RasterReprojectionPanel reprojectPanel)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void end(java.lang.Object params)
           
 void interrupted()
           
static void messageBoxError(java.lang.String msg)
          Shows an error dialog with a text and a accept button
 void updateProgress(int current, int total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReprojectListener

public ReprojectListener(org.gvsig.fmap.mapcontext.layers.FLayer lyr,
                         org.gvsig.raster.reproject.algorithm.swing.api.ReprojectionPanelDataModel dataModel,
                         ReprojectWindow window,
                         org.gvsig.raster.reproject.algorithm.swing.api.RasterReprojectionPanel reprojectPanel)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

end

public void end(java.lang.Object params)
Specified by:
end in interface org.gvsig.raster.algorithm.process.IProcessActions

interrupted

public void interrupted()
Specified by:
interrupted in interface org.gvsig.raster.algorithm.process.IProcessActions

messageBoxError

public static void messageBoxError(java.lang.String msg)
Shows an error dialog with a text and a accept button

Parameters:
msg - Message to show in the dialog
parentWindow - Parent window

updateProgress

public void updateProgress(int current,
                           int total)
Specified by:
updateProgress in interface org.gvsig.raster.algorithm.process.IProcessActions


Copyright © 2013-2014 gvSIG Association. All Rights Reserved.