Logo Search packages:      
Sourcecode: cdk version File versions  Download package

org::openscience::cdk::applications::jchempaint::action::SaveAsAction Class Reference

Inheritance diagram for org::openscience::cdk::applications::jchempaint::action::SaveAsAction:

org::openscience::cdk::applications::jchempaint::action::JCPAction org::openscience::cdk::applications::jchempaint::action::ExportAction org::openscience::cdk::applications::jchempaint::action::SaveAction org::openscience::cdk::applications::jchempaint::action::ExportCompChemAction

List of all members.

Detailed Description

Opens a "Save as" dialog

.module jchempaint


Definition at line 68 of file SaveAsAction.java.

Public Member Functions

void actionPerformed (ActionEvent event)
JCPAction getAction (JChemPaintPanel jcpPanel, String actionname)
JCPAction getAction (JChemPaintPanel jcpPanel, String actionname, boolean isPopupAction)
IChemObject getSource (ActionEvent event)
boolean isEnabled ()
boolean isPopupAction ()
 SaveAsAction (JChemPaintPanel jcpPanel, boolean isPopupAction)
 SaveAsAction ()
void setIsPopupAction (boolean isPopupAction)
void setJChemPaintPanel (JChemPaintPanel jcpPanel)
void setType (String type)

Static Public Attributes

static final String actionSuffix = "Action"
static final String imageSuffix = "Image"
static final String labelSuffix = "Label"

Protected Member Functions

void saveAs (ActionEvent event)
void saveAsCDKSourceCode (IChemModel model, File outFile) throws Exception
void saveAsCML2 (IChemObject object, File outFile) throws Exception
void saveAsMol (IChemModel model, File outFile) throws Exception
void saveAsSMILES (IChemModel model, File outFile) throws Exception
void saveAsSVG (IChemModel model, File outFile) throws Exception

Protected Attributes

IChemObjectWriter cow
JChemPaintPanel jcpPanel = null

Static Protected Attributes

static LoggingTool logger = null
static String type = null

Private Member Functions

boolean askIOSettings ()

Private Attributes

FileFilter currentFilter = null

Static Private Attributes

static final long serialVersionUID = -5138502232232716970L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index