C# 클래스 ExtensibleStorageManager.UICommand

The main user dialog class for issuing sample commands to the a SchemaWrapper
상속: System.Windows.Window
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
UICommand ( Autodesk doc, string applicationId ) : System

Create a new dialog object and store a reference to the active document and applicationID of this addin.

비공개 메소드들

메소드 설명
CreateSetSave ( SampleSchemaComplexity schemaComplexity ) : void

Creates a sample schema, populates it with sample data, and saves it to an XML file

GetStartingXmlPath ( ) : string

Return a convenient recommended path to save schema files in.

GetUIAccessLevels ( AccessLevel &read, AccessLevel &write ) : void

Retrieve AccessLevel enums for read and write permissions from the UI

UICommand_Closing ( object sender, System e ) : void
UpdateUI ( ) : void

Synchronize all UI controls in the dialog with the data in m_SchemaWrapper.

ValidateGuids ( ) : bool

Ensure that the values in the two text fields in the dialogs meant for Guids evaluate to valid Guids.

m_button_CreateSchemaFromXml_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Create Schema from XML" button

m_button_CreateSetSaveComplex_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Create a complex schema" button.

m_button_CreateSetSaveSimple_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Create a simple schema" button.

m_button_CreateWrapperFromSchema_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Create Wrapper from Schema" button

m_button_EditExistingSimple_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Edit Exisiting Data" button

m_button_LookupExtract_Click ( object sender, RoutedEventArgs e ) : void

Handler for the "Look up and extract" button

m_button_NewSchemaId_Click ( object sender, RoutedEventArgs e ) : void

메소드 상세

UICommand() 공개 메소드

Create a new dialog object and store a reference to the active document and applicationID of this addin.
public UICommand ( Autodesk doc, string applicationId ) : System
doc Autodesk
applicationId string
리턴 System