InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IConcreteSelection.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael Martz
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Note: This is the primary interface on the concrete selection boss. Before
24
// the boss can be used, it must be initialized. This is done by calling Initialize()
25
// on this interface (the implementations are responsible for initializing any other
26
// interfaces which may need this service).
27
//
28
//========================================================================================
29
30
#ifndef _IConcreteSelection_
31
#define _IConcreteSelection_
32
//________________________________________________________________________________________________
33
// INCLUDES
34
//________________________________________________________________________________________________
35
#include "IPMUnknown.h"
36
#include "PMCollection.h"
37
#include "ISelectionManager.h"
38
#include "ShuksanID.h"
39
#include "K2Vector.h"
40
#include "ISelectionMessages.h"
41
//================================================================================================
42
//________________________________________________________________________________________________
43
// CLASS FORWARDS
44
//________________________________________________________________________________________________
45
class
IControlView
;
46
class
IDataBase
;
47
class
ISelectionManager
;
48
//________________________________________________________________________________________________
49
// TYPEDEFS
50
//________________________________________________________________________________________________
51
typedef
K2Vector<PMIID>
SuiteIIDCollection
;
52
enum
{kDontNotifySuites = kFalse, kNotifySuites = kTrue};
53
//________________________________________________________________________________________________
54
// CLASS DECLARATION
55
//________________________________________________________________________________________________
62
class
IConcreteSelection
:
public
IPMUnknown
63
{
64
//____________________________________________________________________________________________
65
// Data Types
66
//____________________________________________________________________________________________
67
public
:
68
enum
{ kDefaultIID = IID_ICONCRETESELECTION };
69
70
//____________________________________________________________________________________________
71
// Member functions
72
//____________________________________________________________________________________________
73
public
:
78
virtual
void
Startup
(
IDataBase
* database,
const
UIDRef
& owningView) = 0;
79
82
virtual
void
Shutdown
(
void
) = 0;
83
88
virtual
IDataBase
*
GetDataBase
(
void
)
const
= 0;
89
90
//........................................................................................
91
// Selection Utilities
92
//........................................................................................
98
virtual
bool16
BroadcastQueuedMessages
(
IdleTimer
* timer)
const
= 0;
99
103
virtual
void
SelectionHasChanged
(
void
) = 0;
104
110
virtual
void
SelectionHasQueuedMessages
(ISelectionMessage::SelectionMessageType selectionMessageType)
const
= 0;
111
117
virtual
void
DeselectAll
(
void
) = 0;
118
124
virtual
void
SelectAll
(
IActiveContext
* iContext) = 0;
125
130
virtual
bool16
SelectionExists
(
void
)
const
= 0;
131
137
virtual
void
BroadcastToIntegratorSuite
(
const
PMIID
& pmiid,
void
* selectionMessage) = 0;
138
147
virtual
UIDRef
GetSelectionsOwner_Temporary_DoNotUse
(
void
)
const
= 0;
148
155
virtual
IPMUnknown
*
QuerySelectionSuite
(
const
PMIID
&)
const
= 0;
156
160
virtual
void
UpdateSelectionChangedBroadcastData
(
void
) = 0;
161
162
};
163
164
#endif // _IConcreteSelection_
tmpdoxygeninput
IConcreteSelection.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1