Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
,
]}
/>
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
,
]}
/>
}
/>
);
}
execute: async () => {
const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
if (activeFrontstageDef) {
const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
if (widgetDef) {
widgetDef.setWidgetState(WidgetState.Open);
}
}
},
});
public static command1 = () => {
const activeFrontstageDef = FrontstageManager.activeFrontstageDef;
if (activeFrontstageDef) {
const widgetDef = activeFrontstageDef.findWidgetDef("VerticalPropertyGrid");
if (widgetDef) {
widgetDef.setWidgetState(WidgetState.Open);
}
}
}
stateFunc={(): WidgetState => {
const activeContentControl = ContentViewManager.getActiveContentControl();
if (activeContentControl && activeContentControl.viewport && (activeContentControl.viewport.view.iModel.selectionSet.size > 0))
return WidgetState.Open;
return WidgetState.Closed;
}}
/>,
*/
centerRight={
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
topMostPanel={
}
topPanel={
}
,
]}
/>
}
bottomCenter={
,
]}
/>
}
bottomRight={
,
,
]}
/>
}
/>
);
}