mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 22:58:14 +02:00
IDEIntf: allow writing WidgetSetRestrictions in OI
git-svn-id: trunk@34865 -
This commit is contained in:
parent
86616ad9b9
commit
deb1eafd12
@ -110,17 +110,14 @@ type
|
||||
{ TOIRestrictedProperties }
|
||||
|
||||
TOIRestrictedProperties = class(TOIFavouriteProperties)
|
||||
protected
|
||||
FWidgetSetRestrictions: TWidgetSetRestrictionsArray;
|
||||
public
|
||||
WidgetSetRestrictions: TWidgetSetRestrictionsArray;
|
||||
constructor Create;
|
||||
|
||||
function IsRestricted(AClass: TPersistentClass;
|
||||
const PropertyName: string): TLCLPlatforms;
|
||||
function AreRestricted(Selection: TPersistentSelectionList;
|
||||
const PropertyName: string): TLCLPlatforms;
|
||||
property WidgetSetRestrictions: TWidgetSetRestrictionsArray
|
||||
read FWidgetSetRestrictions;
|
||||
end;
|
||||
|
||||
implementation
|
||||
@ -627,7 +624,7 @@ begin
|
||||
inherited Create;
|
||||
|
||||
for P := Low(TLCLPlatform) to High(TLCLPlatform) do
|
||||
FWidgetSetRestrictions[P] := 0;
|
||||
WidgetSetRestrictions[P] := 0;
|
||||
end;
|
||||
|
||||
function TOIRestrictedProperties.IsRestricted(AClass: TPersistentClass;
|
||||
|
Loading…
Reference in New Issue
Block a user