Public Member Functions | |
def | activate (self) |
def | attach (self, vobj) |
def | canDragObject (self, obj) |
def | canDragObjects (self) |
def | canDropObject (self, obj) |
def | canDropObjects (self) |
def | claimChildren (self) |
def | dragObject (self, vobj, otherobj) |
def | dropObject (self, vobj, otherobj) |
def | getDefaultDisplayMode (self) |
def | getDisplayModes (self, vobj) |
def | getIcon (self) |
def | onChanged (self, vobj, prop) |
def | selectcontents (self) |
def | setDisplayMode (self, mode) |
def | setupContextMenu (self, vobj, menu) |
def | updateData (self, obj, prop) |
Public Attributes | |
icondata | |
Object | |
Detailed Description
A View Provider for the Layer object
Member Function Documentation
◆ activate()
def DraftLayer.ViewProviderLayer.activate | ( | self | ) |
References DraftLayer.Layer.Object, Base::Writer::FileEntry.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.
Referenced by DraftLayer.ViewProviderLayer.setupContextMenu().
◆ attach()
def DraftLayer.ViewProviderLayer.attach | ( | self, | |
vobj | |||
) |
◆ canDragObject()
def DraftLayer.ViewProviderLayer.canDragObject | ( | self, | |
obj | |||
) |
◆ canDragObjects()
def DraftLayer.ViewProviderLayer.canDragObjects | ( | self | ) |
◆ canDropObject()
def DraftLayer.ViewProviderLayer.canDropObject | ( | self, | |
obj | |||
) |
◆ canDropObjects()
def DraftLayer.ViewProviderLayer.canDropObjects | ( | self | ) |
◆ claimChildren()
def DraftLayer.ViewProviderLayer.claimChildren | ( | self | ) |
References DraftLayer.Layer.Object, Base::Writer::FileEntry.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.
Referenced by femviewprovider.view_result_mechanical.VPResultMechanical.onDelete(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.onDelete(), BOPTools.JoinFeatures.ViewProviderConnect.onDelete(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.onDelete(), BOPTools.SplitFeatures.ViewProviderSlice.onDelete(), and BOPTools.SplitFeatures.ViewProviderXOR.onDelete().
◆ dragObject()
def DraftLayer.ViewProviderLayer.dragObject | ( | self, | |
vobj, | |||
otherobj | |||
) |
◆ dropObject()
def DraftLayer.ViewProviderLayer.dropObject | ( | self, | |
vobj, | |||
otherobj | |||
) |
◆ getDefaultDisplayMode()
def DraftLayer.ViewProviderLayer.getDefaultDisplayMode | ( | self | ) |
◆ getDisplayModes()
def DraftLayer.ViewProviderLayer.getDisplayModes | ( | self, | |
vobj | |||
) |
◆ getIcon()
def DraftLayer.ViewProviderLayer.getIcon | ( | self | ) |
References DraftLayer.ViewProviderLayer.icondata, and ArchMaterial._ViewProviderArchMaterial.icondata.
◆ onChanged()
def DraftLayer.ViewProviderLayer.onChanged | ( | self, | |
vobj, | |||
prop | |||
) |
Referenced by draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchAxis.CommandArchGrid.IsActive(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), and DraftLayer.ViewProviderLayer.updateData().
◆ selectcontents()
def DraftLayer.ViewProviderLayer.selectcontents | ( | self | ) |
References DraftLayer.Layer.Object, Base::Writer::FileEntry.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, and ArchWall._ViewProviderWall.Object.
Referenced by DraftLayer.ViewProviderLayer.setupContextMenu().
◆ setDisplayMode()
def DraftLayer.ViewProviderLayer.setDisplayMode | ( | self, | |
mode | |||
) |
◆ setupContextMenu()
def DraftLayer.ViewProviderLayer.setupContextMenu | ( | self, | |
vobj, | |||
menu | |||
) |
References Gui::WorkbenchPy.activate(), Gui::TaskView::TaskSelectLinkProperty.activate(), Gui::WorkbenchManager.activate(), Gui::Workbench.activate(), App::TransactionLocker.activate(), DraftLayer.ViewProviderLayer.activate(), ArchBuildingPart.ViewProviderBuildingPart.activate(), and DraftLayer.ViewProviderLayer.selectcontents().
◆ updateData()
def DraftLayer.ViewProviderLayer.updateData | ( | self, | |
obj, | |||
prop | |||
) |
References Gui::ViewProviderTextDocument.onChanged(), ArchIFC.IfcRoot.onChanged(), Gui::ViewProviderOriginFeature.onChanged(), Gui::ViewProviderPlacement.onChanged(), Gui::ViewProviderAnnotation.onChanged(), Gui::ViewProviderPythonFeatureImp.onChanged(), App::FeaturePythonImp.onChanged(), App::TextDocument.onChanged(), Gui::ViewProviderPart.onChanged(), Gui::ViewProviderGeometryObject.onChanged(), App::MeasureDistance.onChanged(), Gui::ViewProviderMeasureDistance.onChanged(), Gui::ViewProviderOrigin.onChanged(), App::FeatureCustomT< FeatureT >.onChanged(), App::VRMLObject.onChanged(), ArchSchedule._ArchSchedule.onChanged(), Gui::ViewProviderAnnotationLabel.onChanged(), ArchReference.ArchReference.onChanged(), Gui::ViewProviderDocumentObject.onChanged(), Gui::ViewProviderLink.onChanged(), ArchTruss.Truss.onChanged(), App::ExtensionContainer.onChanged(), ArchFloor._Floor.onChanged(), App::PropertyContainer.onChanged(), DraftLayer.ViewProviderLayer.onChanged(), ArchCurtainWall.CurtainWall.onChanged(), ArchFence._ViewProviderFence.onChanged(), ArchMaterial._ArchMaterial.onChanged(), ArchRebar._Rebar.onChanged(), ArchComponent.Component.onChanged(), ArchEquipment._Equipment.onChanged(), ArchSpace._Space.onChanged(), App::FeaturePythonT< FeatureT >.onChanged(), ArchBuildingPart.BuildingPart.onChanged(), ArchAxis._ViewProviderAxis.onChanged(), ArchReference.ViewProviderArchReference.onChanged(), ArchMaterial._ViewProviderArchMaterial.onChanged(), Gui::ViewProviderPythonFeatureT< ViewProviderT >.onChanged(), App::Document.onChanged(), Gui::ViewProvider.onChanged(), ArchRebar._ViewProviderRebar.onChanged(), ArchCurtainWall.ViewProviderCurtainWall.onChanged(), ArchWindow._Window.onChanged(), ArchSpace._ViewProviderSpace.onChanged(), App::DocumentObject.onChanged(), ArchBuildingPart.ViewProviderBuildingPart.onChanged(), ArchSite._Site.onChanged(), ArchAxis._AxisSystem.onChanged(), ArchStructure._Structure.onChanged(), ArchSectionPlane._SectionPlane.onChanged(), ArchPanel.PanelView.onChanged(), ArchAxis._ViewProviderAxisSystem.onChanged(), ArchStructure._ViewProviderStructure.onChanged(), ArchWall._Wall.onChanged(), ArchSite._ViewProviderSite.onChanged(), ArchWindow._ViewProviderWindow.onChanged(), ArchSectionPlane._ViewProviderSectionPlane.onChanged(), ArchPanel.ViewProviderPanelCut.onChanged(), ArchComponent.ViewProviderComponent.onChanged(), and ArchPanel.ViewProviderPanelSheet.onChanged().
Referenced by PathScripts.PathJobDlg.JobCreate.exec_(), draftviewproviders.view_wire.ViewProviderWire.onChanged(), draftviewproviders.view_dimension.ViewProviderLinearDimension.onChanged(), draftviewproviders.view_dimension.ViewProviderAngularDimension.onChanged(), PathScripts.PathOpGui.TaskPanelPage.pageUpdateData(), and PathScripts.PathSetupSheetGui.OpTaskPanel.setupUi().
Member Data Documentation
◆ icondata
DraftLayer.ViewProviderLayer.icondata |
Referenced by DraftLayer.ViewProviderLayer.getIcon().
◆ Object
DraftLayer.ViewProviderLayer.Object |
Referenced by DraftLayer.ViewProviderLayer.activate(), ArchPanel.CommandPanelSheet.Activated(), draftviewproviders.view_draftlink.ViewProviderDraftLink.attach(), OpenSCADFeatures.ViewProviderTree.attach(), PathScripts.PathCopy.ViewProviderPathCopy.attach(), PathScripts.PathHop.ViewProviderPathHop.attach(), PathScripts.PathOpGui.ViewProvider.attach(), draftviewproviders.view_base.ViewProviderDraft.attach(), PathScripts.PathArray.ViewProviderArray.attach(), draftviewproviders.view_dimension.ViewProviderLinearDimension.attach(), PathScripts.PathDressupDragknife.ViewProviderDressup.attach(), draftviewproviders.view_dimension.ViewProviderAngularDimension.attach(), ArchSite.Compass.buildCoordinates(), draftviewproviders.view_draftlink.ViewProviderDraftLink.claimChildren(), femviewprovider.view_result_mechanical.VPResultMechanical.claimChildren(), OpenSCADFeatures.ViewProviderTree.claimChildren(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.claimChildren(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.claimChildren(), draftviewproviders.view_wire.ViewProviderWire.claimChildren(), BOPTools.JoinFeatures.ViewProviderConnect.claimChildren(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.claimChildren(), DraftLayer.ViewProviderLayer.claimChildren(), PathScripts.PathArray.ViewProviderArray.claimChildren(), BOPTools.SplitFeatures.ViewProviderSlice.claimChildren(), BOPTools.JoinFeatures.ViewProviderEmbed.claimChildren(), BOPTools.JoinFeatures.ViewProviderCutout.claimChildren(), BOPTools.SplitFeatures.ViewProviderXOR.claimChildren(), PathScripts.PathDressupDragknife.ViewProviderDressup.claimChildren(), draftviewproviders.view_base.ViewProviderDraft.claimChildren(), Spreadsheet_legacy.ViewProviderSpreadsheet.claimChildren(), PathScripts.PathOpGui.ViewProvider.clearTaskPanel(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.doubleClicked(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dragObject(), BOPTools.JoinFeatures.ViewProviderConnect.dragObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dragObject(), BOPTools.SplitFeatures.ViewProviderXOR.dragObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dropObject(), BOPTools.JoinFeatures.ViewProviderConnect.dropObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dropObject(), BOPTools.SplitFeatures.ViewProviderXOR.dropObject(), draftviewproviders.view_wire.ViewProviderWire.flatten(), Mod.Show.Containers.Container.getCSChildren(), Mod.Show.Containers.Container.getDynamicChildren(), draftviewproviders.view_array.ViewProviderDraftArray.getIcon(), femviewprovider.view_material_common.VPMaterialCommon.getIcon(), draftviewproviders.view_draftlink.ViewProviderDraftLink.getIcon(), femviewprovider.view_base_femobject.VPBaseFemObject.getIcon(), OpenSCADFeatures.ViewProviderTree.getIcon(), PathScripts.PathOpGui.ViewProvider.getIcon(), draftviewproviders.view_dimension.ViewProviderDimensionBase.getIcon(), draftviewproviders.view_base.ViewProviderDraft.getIcon(), Mod.Show.Containers.Container.getStaticChildren(), Mod.Show.Containers.Container.getVisGroupChildren(), Mod.Show.Containers.Container.hasObjectRecursive(), draftviewproviders.view_dimension.ViewProviderLinearDimension.is_linked_to_circle(), Mod.Show.Containers.Container.isACS(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.Show.Containers.Container.isAVisGroup(), Mod.Show.Containers.Container.isChildVisible(), DraftLayer.ViewProviderLayerContainer.mergeByName(), draftviewproviders.view_base.ViewProviderDraft.onChanged(), BOPTools.JoinFeatures.ViewProviderEmbed.onDelete(), BOPTools.JoinFeatures.ViewProviderCutout.onDelete(), DraftLayer.ViewProviderLayer.selectcontents(), Mod.Show.Containers.Container.self_check(), draftviewproviders.view_label.ViewProviderLabel.set_properties(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), PathScripts.PathOpGui.ViewProvider.setupTaskPanel(), femviewprovider.view_result_mechanical.VPResultMechanical.unsetEdit(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeCamera(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeState().
The documentation for this class was generated from the following file:
- src/Mod/Draft/DraftLayer.py