1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_inspection_InteractiveSelectionResult_idl__
24#define __com_sun_star_inspection_InteractiveSelectionResult_idl__
25
26//=============================================================================
27module com {  module sun {  module star {  module inspection {
28
29//-----------------------------------------------------------------------------
30/** describes possible results of an interactive selection of a property value
31    in an object inspector
32
33    @see XPropertyHandler::onInteractivePropertySelection
34
35    @since OOo 2.0.3
36*/
37published enum InteractiveSelectionResult
38{
39    /** The interactive selection of a property value was cancelled.
40    */
41    Cancelled,
42
43    /** The interactive selection of a property value succeeded, and the
44        new property value chosen by the user has already been set at the
45        inspected component.
46    */
47    Success,
48
49    /** The interactive selection of a property value succeeded, a new
50        property value has been obtained, but not yet set at the inspected
51        component.
52
53        <p>In this case, the obtained value is passed to the caller of
54        <member>XPropertyHandler::onInteractivePropertySelection<member>, which is
55        responsible for forwarding this value to the inspected component.</p>
56    */
57    ObtainedValue,
58
59    /** The interactive selection of a property value is still pending.
60
61        <p>This is usually used when this selection involves non-modal user interface.</p>
62    */
63    Pending
64};
65
66//=============================================================================
67
68}; }; }; };
69
70#endif
71
72
73