5 #ifndef BALL_VIEW_DIALOGS_MOLECULARFILEDIALOG_H
6 #define BALL_VIEW_DIALOGS_MOLECULARFILEDIALOG_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
16 #ifndef BALL_VIEW_KERNEL_COMMON_H
67 virtual void initializeWidget(
MainControl& main_control);
74 virtual bool canHandle(
const String& fileformat)
const;
80 virtual bool openFile(
const String& filename);
93 virtual System* openMolecularFile(
const String& filename,
95 const String& system_name);
149 bool writePDBFile(
String filename,
const System& system);
153 bool writeHINFile(
String filename,
const System& system);
157 bool writeMOLFile(
String filename,
const System& system);
161 bool writeMOL2File(
String filename,
const System& system);
165 bool writeSDFile(
String filename,
const System& system);
169 bool writeACFile(
String filename,
const System& system);
173 bool writeXYZFile(
String filename,
const System& system);
179 virtual String getSupportedFileFormats()
const;
182 virtual String getSupportedFileFormatsList()
const;
195 virtual void readFiles();
200 virtual bool writeFile();
205 virtual void onNotify(
Message *message);
211 virtual bool finish_(
const String& filename,
const String& system_name,
System* system);
233 #endif // BALL_VIEW_DIALOGS_MOLECULARFILEDIALOG_H
void setReadPDBModels(bool read)
#define BALL_EMBEDDABLE(TYPE, BASE)
bool read_all_pdb_models_