C# 클래스 EAImvertor.EAImvertorAddin

Description of MyClass.
상속: EAAddinFramework.EAAddinBase
파일 보기 프로젝트 열기: GeertBellekens/Enterprise-Architect-Toolpack

Private Properties

프로퍼티 타입 설명
canBePublished bool
imvertorBackgroundRunWorkerCompleted void
imvertorBackground_DoWork void
imvertorBackground_ProgressChanged void
initialize void
publish void
publish void
publish void
publishButtonClick void
reportButtonClick void
resultsButtonClick void
retryButtonClick void
startJob void
startNextJob void
viewWarningsButtonClick void

공개 메소드들

메소드 설명
EAImvertorAddin ( ) : System
EA_FileOpen ( EA Repository ) : void

Initializes the model and schemaFactory with the new Repository object.

EA_GetMenuItems ( EA Repository, string MenuLocation, string MenuName ) : object
EA_GetMenuState ( EA Repository, string MenuLocation, string MenuName, string ItemName, bool &IsEnabled, bool &IsChecked ) : void
EA_MenuClick ( EA Repository, string MenuLocation, string MenuName, string ItemName ) : void

only needed for the about menu

EA_OnContextItemChanged ( EA Repository, string GUID, EA ot ) : void

비공개 메소드들

메소드 설명
canBePublished ( TSF.UmlToolingFramework.UML package ) : bool

a package can be published if it's stereotype is present in the list of allowed stereotypes in the settings

imvertorBackgroundRunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
imvertorBackground_DoWork ( object sender, DoWorkEventArgs e ) : void
imvertorBackground_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
initialize ( EA Repository ) : void

initialize the add-in class

publish ( ) : void
publish ( TSF.UmlToolingFramework.UML selectedPackage ) : void
publish ( TSF.UmlToolingFramework.UML selectedPackage, EAImvertorJobSettings jobSettings ) : void
publishButtonClick ( object sender, EventArgs e ) : void
reportButtonClick ( object sender, EventArgs e ) : void

reacts tot he even that the report button is clicked in the ImvertorControl

resultsButtonClick ( object sender, EventArgs e ) : void

reacts to the event that the resultsButton is clicked in the ImvertorControl

retryButtonClick ( object sender, EventArgs e ) : void

reacts to the event that the retryButton is clicked in the ImvertorControl

startJob ( EAImvertorJob imvertorJob ) : void

start an ImvertorJob if possible. Else the job will be added to the waiting list

startNextJob ( ) : void

start the next job in the waiting line (if any)

viewWarningsButtonClick ( object sender, EventArgs e ) : void

reacts to the event that the viewWarningsButton is clicked in the ImvertorControl

메소드 상세

EAImvertorAddin() 공개 메소드

public EAImvertorAddin ( ) : System
리턴 System

EA_FileOpen() 공개 메소드

Initializes the model and schemaFactory with the new Repository object.
public EA_FileOpen ( EA Repository ) : void
Repository EA An EA.Repository object representing the currently open Enterprise Architect model. /// Poll its members to retrieve model data and user interface status information.
리턴 void

EA_GetMenuItems() 공개 메소드

public EA_GetMenuItems ( EA Repository, string MenuLocation, string MenuName ) : object
Repository EA
MenuLocation string
MenuName string
리턴 object

EA_GetMenuState() 공개 메소드

public EA_GetMenuState ( EA Repository, string MenuLocation, string MenuName, string ItemName, bool &IsEnabled, bool &IsChecked ) : void
Repository EA
MenuLocation string
MenuName string
ItemName string
IsEnabled bool
IsChecked bool
리턴 void

EA_MenuClick() 공개 메소드

only needed for the about menu
public EA_MenuClick ( EA Repository, string MenuLocation, string MenuName, string ItemName ) : void
Repository EA An EA.Repository object representing the currently open Enterprise Architect model. /// Poll its members to retrieve model data and user interface status information.
MenuLocation string String representing the part of the user interface that brought up the menu. /// Can be TreeView, MainMenu or Diagram.
MenuName string The name of the parent menu for which sub-items must be defined. In the case of the top-level menu it is an empty string.
ItemName string The name of the option actually clicked, for example, Create a New Invoice.
리턴 void

EA_OnContextItemChanged() 공개 메소드

public EA_OnContextItemChanged ( EA Repository, string GUID, EA ot ) : void
Repository EA
GUID string
ot EA
리턴 void