pl.edu.agh.cast.data.template.export
Class ExportTemplateButtonAction

java.lang.Object
  extended by pl.edu.agh.cast.data.template.export.AbstractExportTemplateAction
      extended by pl.edu.agh.cast.data.template.export.ExportTemplateButtonAction

public class ExportTemplateButtonAction
extends AbstractExportTemplateAction

Default extension of the AbstractExportTemplateAction, implementing the export method, which is responsible for the template export to target file operation.

Author:
AGH CAST Team

Constructor Summary
ExportTemplateButtonAction()
           
 
Method Summary
 void export(Template template)
          Exports a specified template to target file chosen by the user, and informs the user about the success of his/her save operation; or exists without performing any operation if the "cancel" button was chosen in the choose target file window.
 
Methods inherited from class pl.edu.agh.cast.data.template.export.AbstractExportTemplateAction
chooseTargetFile, onError, onSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportTemplateButtonAction

public ExportTemplateButtonAction()
Method Detail

export

public void export(Template template)
Exports a specified template to target file chosen by the user, and informs the user about the success of his/her save operation; or exists without performing any operation if the "cancel" button was chosen in the choose target file window.

Parameters:
template - the template to be exported


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.