7 #ifndef BALL_VIEW_WIDGETS_DATASETCONTROL_H
8 #define BALL_VIEW_WIDGETS_DATASETCONTROL_H
10 #ifndef BALL_KERNEL_SYSTEM_H
14 #ifndef BALL_VIEW_WIDGETS_GENERICCONTROL_H
18 #include <QtGui/QTreeWidgetItem>
25 class DatasetController;
61 virtual void onNotify(
Message *message);
65 virtual void initializeWidget(
MainControl& main_control);
78 virtual bool canHandle(
const String& fileformat)
const;
85 virtual bool openFile(
const String& filename);
106 vector<Dataset*> getDatasets(
const String& type);
109 Size getSelectionSize();
115 virtual void deleteCurrentItems();
124 virtual void showGuestContextMenu(
const QPoint& pos);
129 void updateSelection();
141 #endif // BALL_VIEW_WIDGETS_DATASETCONTROL_H
vector< DatasetController * > controllers_
#define BALL_EMBEDDABLE(TYPE, BASE)