InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SuppUISuppressedUI.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #include "VCPlugInHeaders.h"
28 
29 #include "ISuppressedUI.h"
30 
48 class SuppUISuppressedUI : public CPMUnknown<ISuppressedUI>
49 {
50 public:
51 
57 
62 
68  virtual bool16 IsWidgetDisabled( const IControlView* widget ) const;
69 
75  virtual bool16 IsWidgetHidden( const IControlView* widget ) const;
76 
87  virtual bool16 IsDragDropDisabled( const IDragDropTarget* target, DataObjectIterator* data, const IDragDropSource* source ) const;
88 
95  virtual bool16 IsActionDisabled( ActionID action ) const;
96 
103  virtual bool16 IsActionHidden( ActionID action ) const;
104 
114  virtual bool16 IsSubMenuDisabled( const PMString& untranslatedSubMenuName ) const;
115 
125  virtual bool16 IsSubMenuHidden( const PMString& untranslatedSubMenuName ) const;
126 
135  virtual bool16 IsPlatformDialogControlSuppressed( const PMString& platformDialogIdentifier ) const;
136 
142  virtual void Reset( );
143 
144 
146  static bool16 gSuppressStyleChages;
147 
150 
153 
156 
157 private:
158 
163  WidgetID GetWidgetID( const IControlView* widget) const;
164 
169  WidgetID GetParentWidgetID( const IControlView* widget ) const;
170 };
171 
172 
173