C# Class ExtensibleStorageManager.UICommand

The main user dialog class for issuing sample commands to the a SchemaWrapper
Inheritance: System.Windows.Window
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
UICommand ( Autodesk doc, string applicationId ) : System

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

Private Methods

Method Description
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

Method Details

UICommand() public method

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
return System