index 7fb6e87a53481418af814449675cc9e88267f55a..cfda36856b5ea11233f89f44b75759c0fb9b9caf 100644 (file)
#ifndef INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
#define INKSCAPE_UI_DIALOG_EXTENSION_EDITOR_H
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include <glibmm/i18n.h>
namespace UI {
namespace Dialog {
-class ExtensionEditor : public Dialog {
+class ExtensionEditor : public UI::Widget::Panel {
public:
ExtensionEditor();
virtual ~ExtensionEditor();
- static ExtensionEditor *create() { return new ExtensionEditor(); }
+ static ExtensionEditor &getInstance() { return *new ExtensionEditor(); }
static void show_help (gchar const * extension_id);
PageListModelColumns() {
Gtk::TreeModelColumnRecord::add(_col_name);
Gtk::TreeModelColumnRecord::add(_col_id);
- Gtk::TreeModelColumnRecord::add(_col_info);
- Gtk::TreeModelColumnRecord::add(_col_help);
- Gtk::TreeModelColumnRecord::add(_col_params);
}
/** \brief Name of the extension */
Gtk::TreeModelColumn<Glib::ustring> _col_name;
/** \brief ID of the extension */
Gtk::TreeModelColumn<Glib::ustring> _col_id;
- /** \brief Info widget for the extension (NULL if unset) */
- Gtk::TreeModelColumn<Gtk::Widget *> _col_info;
- /** \brief Help widget for the extension (NULL if unset) */
- Gtk::TreeModelColumn<Gtk::Widget *> _col_help;
- /** \brief Parameters list of the extension (NULL if unset) */
- Gtk::TreeModelColumn<Gtk::Widget *> _col_params;
};
PageListModelColumns _page_list_columns;