update dev300-m58
[ooovba.git] / offapi / com / sun / star / inspection / InteractiveSelectionResult.idl
blob62b75f3846dd5ac58582bc1dfc55d407ce7c346d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: InteractiveSelectionResult.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_inspection_InteractiveSelectionResult_idl__
31 #define __com_sun_star_inspection_InteractiveSelectionResult_idl__
33 //=============================================================================
34 module com { module sun { module star { module inspection {
36 //-----------------------------------------------------------------------------
37 /** describes possible results of an interactive selection of a property value
38 in an object inspector
40 @see XPropertyHandler::onInteractivePropertySelection
42 @since OOo 2.0.3
44 enum InteractiveSelectionResult
46 /** The interactive selection of a property value was cancelled.
48 Cancelled,
50 /** The interactive selection of a property value succeeded, and the
51 new property value chosen by the user has already been set at the
52 inspected component.
54 Success,
56 /** The interactive selection of a property value succeeded, a new
57 property value has been obtained, but not yet set at the inspected
58 component.
60 <p>In this case, the obtained value is passed to the caller of
61 <member>XPropertyHandler::onInteractivePropertySelection<member>, which is
62 responsible for forwarding this value to the inspected component.</p>
64 ObtainedValue,
66 /** The interactive selection of a property value is still pending.
68 <p>This is usually used when this selection involves non-modal user interface.</p>
70 Pending
73 //=============================================================================
75 }; }; }; };
77 #endif