메소드 | 설명 | |
---|---|---|
EAAddin ( ) : System | ||
EA_FileClose ( EA Repository ) : void | ||
EA_FileOpen ( EA Repository ) : void | ||
EA_GetMenuItems ( EA Repository, string MenuLocation, string MenuName ) : object |
The EA_GetMenuItems event enables the Add-In to provide the Enterprise Architect user interface with additional Add-In menu options in various context and main menus. When a user selects an Add-In menu option, an event is raised and passed back to the Add-In that originally defined that menu option. This event is raised just before Enterprise Architect has to show particular menu options to the user, and its use is described in the Define Menu Items topic. Also look at: - EA_MenuClick - EA_GetMenuState.
|
|
EA_MenuClick ( global Repository, String Location, String MenuName, String ItemName ) : void |
Execute the actual functions
|
|
EA_OnContextItemChanged ( global Repository, string GUID, global ot ) : void |
the EA hook we use to show the selected element in the Navigator window
|
|
EA_OnPostInitialized ( EA Repository ) : void | ||
EA_OnPostOpenDiagram ( EA Repository, int DiagramID ) : void | ||
getElementsToNavigate ( string menuChoice, TSF.UmlToolingFramework.UML parentElement ) : List |
returns the items to navigate based on the given element and chosen option.
|
|
quickSearch ( string searchText ) : void |
메소드 | 설명 | |
---|---|---|
FqnButtonClick ( object sender, |
reacts to the event that the FQN button is clicked in the EA NavigatorControl
|
|
GuidButtonClick ( object sender, |
reacts to the event that the GUID button is clicked in the EA NavigatorControl
|
|
NavigatorTreeBeforeExpand ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void |
gets the elements of a package right before expanding
|
|
NavigatorTreeNodeDoubleClick ( object sender, |
When a diagram is doubleclicked we need to set it a the main element
|
|
filterMenuOptions ( List |
||
getActions ( TSF.UmlToolingFramework.UML parentElement ) : List |
opens the CallOperationActions that call te selected operation
|
|
getAssociationClass ( TSF.UmlToolingFramework.UML parentElement ) : List |
gets the AssociationClass for the given association
|
|
getAttributes ( TSF.UmlToolingFramework.UML parentElement ) : List |
Opens the attributes of that use the selected element as type
|
|
getClassifier ( TSF.UmlToolingFramework.UML parentElement ) : List |
Opens the type of the attribute
|
|
getCompositeDiagram ( TSF.UmlToolingFramework.UML parentElement ) : List |
||
getCompositeElements ( TSF.UmlToolingFramework.UML parentElement ) : List |
||
getConveyedElements ( TSF.UmlToolingFramework.UML parentElement ) : List |
returnst he elements conveyed by the given connector
|
|
getConveyingConnectors ( TSF.UmlToolingFramework.UML parentElement ) : List |
returns the conveying connectors for the given classifier
|
|
getDependentTaggedValues ( TSF.UmlToolingFramework.UML parentItem ) : List |
returns all tagged values that reference the given item
|
|
getDepentDiagrams ( TSF.UmlToolingFramework.UML parentElement ) : List |
returns all diagrams that show this item
|
|
getDiagramOperations ( TSF.UmlToolingFramework.UML parentElement ) : List |
returns all operations called on the given diagram
|
|
getDiagrams ( TSF.UmlToolingFramework.UML parentElement ) : List |
get all using diagrams for the given element currently only used for operations
|
|
getElementsViaTaggedValues ( TSF.UmlToolingFramework.UML parentElement, string menuOption ) : List |
returns all elements referenced by the tagged values of the parent element
|
|
getImplementation ( TSF.UmlToolingFramework.UML parentElement ) : List |
selects the implementation of the operation in the project browser, and opens all owned diagrams of the implementation.
|
|
getImplementedOperation ( TSF.UmlToolingFramework.UML parentElement ) : List |
returns the operation implemented by the given parentElement, or in case the parentElement is a diagram, by the owner of the parentElement
|
|
getLinkedToElementFeatures ( TSF.UmlToolingFramework.UML parentItem ) : List |
returns all elements linked via the "link to element feature"
|
|
getMenuOptions ( TSF.UmlToolingFramework.UML element ) : List |
returns the options depending on the type of the element
|
|
getOperation ( TSF.UmlToolingFramework.UML parentElement ) : List |
gets the operation for the parent element which can be - an operation itself - a message calling the operation - a parameter for an operation - a CallOperationAction
|
|
getOwner ( TSF.UmlToolingFramework.UML parentElement ) : List |
returns the owner of the parentElement
|
|
getOwnerMenuName ( TSF.UmlToolingFramework.UML element ) : string | ||
getParameterTypes ( TSF.UmlToolingFramework.UML parentElement ) : List |
Opens the types of the parameters of the selected operation
|
|
getParameters ( TSF.UmlToolingFramework.UML parentElement ) : List |
Opens the parameters that use the selected element as type
|
|
getRelatedAssociation ( TSF.UmlToolingFramework.UML parentElement ) : List |
gets the related Association for an AssociationClass
|
|
getSelectedOperation ( TSF.UmlToolingFramework.UML parentElement ) : TSF.UmlToolingFramework.UML.Classes.Kernel.Operation |
Gets the selected operation from the model, either directly or through the selected message
|
|
getTaggedValueMenuItems ( TSF.UmlToolingFramework.UML ownerElement ) : List |
creates a list of menuoptions based on the names of tagged values that reference another UML item
|
|
getTypeMenuName ( TSF.UmlToolingFramework.UML element ) : string | ||
isGUIDString ( string guidString ) : bool |
returns true if the given string is a valid GUID format
|
|
looksLikeFQN ( string fqnCandidate ) : bool |
does a basic check to verify that the given string sort of resembles an FQN sttring
|
|
navigate ( ) : void | ||
navigate ( TSF.UmlToolingFramework.UML item ) : void | ||
openInNavigatorClick ( object sender, |
||
quickSearchTextChanged ( object sender, |
||
selectFQN ( ) : void |
select the element that matches the fqn in the clipboard
|
|
selectFQN ( string fqn ) : void | ||
selectGUID ( ) : void |
selects the element with the GUID in on the clipboard. If the clipboard doesn't contain a GUID we will ask the user to input one.
|
|
selectGUID ( string guidString ) : void |
selects the element with the given guid
|
|
taggedValueMenuName ( string taggedValueName ) : string |
adds the menu prefix and menu suffix to the tagged value name
|
public EA_GetMenuItems ( EA Repository, string MenuLocation, string MenuName ) : object | ||
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 are to be defined. In the case of the top-level menu it is an empty string. |
리턴 | object |
public EA_MenuClick ( global Repository, String Location, String MenuName, String ItemName ) : void | ||
Repository | global | the repository |
Location | String | menu location |
MenuName | String | menu name |
ItemName | String | option clicked |
리턴 | void |
public EA_OnContextItemChanged ( global Repository, string GUID, global ot ) : void | ||
Repository | global | |
GUID | string | |
ot | global | |
리턴 | void |
public EA_OnPostInitialized ( EA Repository ) : void | ||
Repository | EA | |
리턴 | void |
public EA_OnPostOpenDiagram ( EA Repository, int DiagramID ) : void | ||
Repository | EA | |
DiagramID | int | |
리턴 | void |
public getElementsToNavigate ( string menuChoice, TSF.UmlToolingFramework.UML parentElement ) : List |
||
menuChoice | string | the chosen option |
parentElement | TSF.UmlToolingFramework.UML | the elememnt |
리턴 | List |