diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-27 11:27:16 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-27 11:27:16 +0000 |
commit | 668334a72d805c4760c00072bd2b072e0162ae32 (patch) | |
tree | 8b9c42a07ef94cdf31d46e5d5281df5832617ccd /offapi/com | |
parent | 3eff533ba409948abbe6157106fc99b42d207be1 (diff) |
INTEGRATION: CWS awttree01 (1.1.2); FILE ADDED
2006/12/01 06:26:58 cl 1.1.2.2: implement a tree control api
2006/09/28 13:47:08 cl 1.1.2.1: added primilary awt tree control api
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl new file mode 100644 index 000000000..76affe96b --- /dev/null +++ b/offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl @@ -0,0 +1,76 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: TreeDataModelEvent.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: hr $ $Date: 2007-06-27 12:27:16 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_awt_tree_TreeDataModelEvent_idl__ +#define __com_sun_star_awt_tree_TreeDataModelEvent_idl__ + +#ifndef __com_sun_star_lang_EventObject_idl__ +#include <com/sun/star/lang/EventObject.idl> +#endif + +#ifndef __com_sun_star_awt_tree_XTreeNode_idl__ +#include <com/sun/star/awt/tree/XTreeNode.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module awt { module tree { + +//============================================================================= + +/** An event used by a <type>XTreeDataModel</type> to notify changes in the data + model to the <type>XTreeControl</type>. + You usually need to fill this event only if you implement the <type>XTreeDataModel</type> + yourself. + + @see XTreeDataModel + @see XTreeControl + @see XTreeDataModelListener + */ +struct TreeDataModelEvent : ::com::sun::star::lang::EventObject +{ + /** contains the changed, added or removed nodes. + <p> All nodes must have <member>ParentNode</member> as parent. */ + sequence< XTreeNode > Nodes; + + /** holds the parent node for changed, added or removed nodes. + <p> If this is null, <member>Nodes</member> must contain only the root node */ + XTreeNode ParentNode; +}; + +//============================================================================= + +}; }; }; }; }; + +#endif |