C# 클래스 hoTools.Settings.AddinSettings

Settings for hoTools. It merges default settings (ActiveX.dll.config) with current settings in install directory to the current settings.
파일 보기 프로젝트 열기: Helmut-Ortmann/EnterpriseArchitect_hoTools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllServices List
ButtonsConfigSearch Control.EaAddinShortcuts.EaAddinButtons[]
ButtonsServiceConfig List
GlobalKeysConfig List
GlobalKeysConfigSearch List

Private Properties

프로퍼티 타입 설명
GetAllServices void
GetBoolConfigValue bool
GetButtonsSearch Control.EaAddinShortcuts.EaAddinButtons[]
GetButtonsService List
GetConnector void
GetDefaultSettings void
GetKeysSearch List
GetKeysService List
GetStringConfigValue string
MergeDefaultSettings void
MessageConfigValueNotExists void
SetBoolConfigValue void
SetButtonsSearch void
SetButtonsServices void
SetConnector void
SetGlobalKeysSearch void
SetGlobalKeysService void
SetStringConfigValue void
UpdateKeysService void
UpdateToolbarServiceButtons void

공개 메소드들

메소드 설명
AddinSettings ( ) : System

Merge default settings (install DLLs) with current settings (user.config) Read settings from %APPDATA%\ho\hoTools\user.config or %APPDATA%\ho\hoTools_ZFLT\user.config

Refresh ( ) : void
Save ( ) : void

saves the settings to the config file

UpdateKeysAndToolbarsServices ( ) : void

Update the subclasses services (Call Service or run Script) for: - Buttons - Global keys / global shortcuts / keyboard keys by - Method / Script - Tool tip - Subclasses

UpdateModel ( Model model ) : void

Update settings with model specific features like: Scripts

비공개 메소드들

메소드 설명
GetAllServices ( ) : void

Fill the list AllServices with all possible Services and Scripts.

GetBoolConfigValue ( string name ) : bool

Get bool config value. If the value don't exists return a false.

GetButtonsSearch ( ) : Control.EaAddinShortcuts.EaAddinButtons[]

Get 5 Searches

GetButtonsService ( ) : List

Get 5 services of type Call or Script from configuration

GetConnector ( DiagramConnector l ) : void
GetDefaultSettings ( ) : void

gets the default settings config.

GetKeysSearch ( ) : List
GetKeysService ( ) : List

GetStringConfigValue ( string name ) : string

Get string value from configuration

MergeDefaultSettings ( ) : void

merge the default settings with the current config.

MessageConfigValueNotExists ( string name, string value ) : void

Output error Message box for not existent configuration parameter or invalid value

SetBoolConfigValue ( string name, bool value ) : void

Set bool config value. If error output a message

SetButtonsSearch ( EaAddinButtons l ) : void
SetButtonsServices ( List l ) : void
SetConnector ( DiagramConnector l ) : void
SetGlobalKeysSearch ( List l ) : void
SetGlobalKeysService ( List l ) : void
SetStringConfigValue ( string name, string value ) : void

Set string value in configuration. If error output error message

UpdateKeysService ( ) : void

Update then global keys service for Call and Script. Helptext, subservices

UpdateToolbarServiceButtons ( ) : void

Update Toolbar Buttons by available Services and Scripts.

메소드 상세

AddinSettings() 공개 메소드

Merge default settings (install DLLs) with current settings (user.config) Read settings from %APPDATA%\ho\hoTools\user.config or %APPDATA%\ho\hoTools_ZFLT\user.config
public AddinSettings ( ) : System
리턴 System

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

Save() 공개 메소드

saves the settings to the config file
public Save ( ) : void
리턴 void

UpdateKeysAndToolbarsServices() 공개 메소드

Update the subclasses services (Call Service or run Script) for: - Buttons - Global keys / global shortcuts / keyboard keys by - Method / Script - Tool tip - Subclasses
public UpdateKeysAndToolbarsServices ( ) : void
리턴 void

UpdateModel() 공개 메소드

Update settings with model specific features like: Scripts
public UpdateModel ( Model model ) : void
model Model
리턴 void

프로퍼티 상세

AllServices 공개적으로 프로퍼티

public List AllServices
리턴 List

ButtonsConfigSearch 공개적으로 프로퍼티

public EaAddinButtons[],Control.EaAddinShortcuts ButtonsConfigSearch
리턴 Control.EaAddinShortcuts.EaAddinButtons[]

ButtonsServiceConfig 공개적으로 프로퍼티

public List ButtonsServiceConfig
리턴 List

GlobalKeysConfig 공개적으로 프로퍼티

public List GlobalKeysConfig
리턴 List

GlobalKeysConfigSearch 공개적으로 프로퍼티

public List GlobalKeysConfigSearch
리턴 List