Public Member Functions | Private Attributes

de.fraunhofer.isst.axbench.views.actions.ConnectPortAction Class Reference

Show menu for connecting ports and copies the connection string to the clipboard. More...

List of all members.

Public Member Functions

 ConnectPortAction ()
 Constructor.
void run (IAction action)
 Executes the action.
void selectionChanged (IAction action, ISelection selection)
 Reacts on selection changes.
void setActivePart (IAction action, IWorkbenchPart targetPart)
 Sets the active part.

Private Attributes

IWorkbenchPart thePart = null
 storage for active part
IAXLangElement thePort = null
 storage for selected port
IAXLangElement theSubComponent = null
 storage for subcomponent above the port in the instance hierarchy

Detailed Description

Show menu for connecting ports and copies the connection string to the clipboard.

Author:
ekleinod
skaegebein
Version:
0.8.0
Since:
0.7.2

Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.views.actions.ConnectPortAction.ConnectPortAction (  ) 

Constructor.


Member Function Documentation

void de.fraunhofer.isst.axbench.views.actions.ConnectPortAction.run ( IAction  action  ) 

Executes the action.

Parameters:
action action proxy
void de.fraunhofer.isst.axbench.views.actions.ConnectPortAction.selectionChanged ( IAction  action,
ISelection  selection 
)

Reacts on selection changes.

Parameters:
action action proxy
selection changes selection
void de.fraunhofer.isst.axbench.views.actions.ConnectPortAction.setActivePart ( IAction  action,
IWorkbenchPart  targetPart 
)

Sets the active part.

Parameters:
action action proxy
targetPart new active part

Member Data Documentation

storage for active part

storage for selected port

storage for subcomponent above the port in the instance hierarchy