C# Класс NABarrierLocationEditor.NABarrierLocationEditor

Наследование: BaseCommand, INAWindowCommand2
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
m_application IApplication
m_naExt INetworkAnalystExtension

Private Properties

Свойство Тип Описание
ArcGISCategoryRegistration void
ArcGISCategoryUnregistration void
GetActiveAnalysisLayer INALayer
GetActiveCategory INAWindowCategory2
INAWindowCommand2 bool
OpenBarrierEditorForm void
RegisterFunction void
UnregisterFunction void

Открытые методы

Метод Описание
Applies ( INALayer naLayer, INAWindowCategory category ) : bool
NABarrierLocationEditor ( ) : System
OnClick ( ) : void

Occurs when this command is clicked

OnCreate ( object hook ) : void

Occurs when this command is created

Приватные методы

Метод Описание
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

GetActiveAnalysisLayer ( ) : INALayer
GetActiveCategory ( ) : INAWindowCategory2
INAWindowCommand2 ( INALayer naLayer, INAWindowCategoryGroup categoryGroup ) : bool

Occurs in determining whether or not to include the command as a context menu item The active analysis layer The selected group in the NAWindow

OpenBarrierEditorForm ( ) : void

To open the editor form, we need to first determine which barrier is being edited, then pass that value to the form

RegisterFunction ( Type registerType ) : void
UnregisterFunction ( Type registerType ) : void

Описание методов

Applies() публичный Метод

public Applies ( INALayer naLayer, INAWindowCategory category ) : bool
naLayer INALayer
category INAWindowCategory
Результат bool

NABarrierLocationEditor() публичный Метод

public NABarrierLocationEditor ( ) : System
Результат System

OnClick() публичный Метод

Occurs when this command is clicked
public OnClick ( ) : void
Результат void

OnCreate() публичный Метод

Occurs when this command is created
public OnCreate ( object hook ) : void
hook object Instance of the application
Результат void

Описание свойств

m_application публичное свойство

public IApplication m_application
Результат IApplication

m_naExt публичное свойство

public INetworkAnalystExtension m_naExt
Результат INetworkAnalystExtension