/********************************************************** * Version $Id$ *********************************************************/ /////////////////////////////////////////////////////////// // // // SAGA // // // // System for Automated Geoscientific Analyses // // // // User Interface // // // // Program: SAGA // // // //-------------------------------------------------------// // // // wksp_tool_control.h // // // // Copyright (C) 2005 by Olaf Conrad // // // //-------------------------------------------------------// // // // This file is part of 'SAGA - System for Automated // // Geoscientific Analyses'. SAGA is free software; you // // can redistribute it and/or modify it under the terms // // of the GNU General Public License as published by the // // Free Software Foundation, either version 2 of the // // License, or (at your option) any later version. // // // // SAGA is distributed in the hope that it will be // // useful, but WITHOUT ANY WARRANTY; without even the // // implied warranty of MERCHANTABILITY or FITNESS FOR A // // PARTICULAR PURPOSE. See the GNU General Public // // License for more details. // // // // You should have received a copy of the GNU General // // Public License along with this program; if not, see // // . // // // //-------------------------------------------------------// // // // contact: Olaf Conrad // // Institute of Geography // // University of Goettingen // // Goldschmidtstr. 5 // // 37077 Goettingen // // Germany // // // // e-mail: oconrad@saga-gis.org // // // /////////////////////////////////////////////////////////// //--------------------------------------------------------- /////////////////////////////////////////////////////////// // // // // // // /////////////////////////////////////////////////////////// //--------------------------------------------------------- #ifndef _HEADER_INCLUDED__SAGA_GUI__WKSP_Tool_Control_H #define _HEADER_INCLUDED__SAGA_GUI__WKSP_Tool_Control_H /////////////////////////////////////////////////////////// // // // // // // /////////////////////////////////////////////////////////// //--------------------------------------------------------- #include "wksp_base_control.h" /////////////////////////////////////////////////////////// // // // // // // /////////////////////////////////////////////////////////// //--------------------------------------------------------- class CWKSP_Tool_Control : public CWKSP_Base_Control { DECLARE_CLASS(CWKSP_Tool_Control) public: CWKSP_Tool_Control(wxWindow *pParent); virtual ~CWKSP_Tool_Control(void); class CWKSP_Tool_Manager * Get_Manager (void) { return( (class CWKSP_Tool_Manager *)m_pManager ); } void On_Execute (wxCommandEvent &event); void On_Execute_UI (wxUpdateUIEvent &event); void Add_Group (class CWKSP_Tool_Group *pGroup); void Add_Library (const wxTreeItemId &Group, class CWKSP_Tool_Library *pLibrary); void Add_Tool (const wxTreeItemId &Library, class CWKSP_Tool *pTool); private: //--------------------------------------------------------- DECLARE_EVENT_TABLE() }; //--------------------------------------------------------- extern CWKSP_Tool_Control *g_pTool_Ctrl; /////////////////////////////////////////////////////////// // // // // // // /////////////////////////////////////////////////////////// //--------------------------------------------------------- #endif // #ifndef _HEADER_INCLUDED__SAGA_GUI__WKSP_Tool_Control_H