realizes the rename action via the refactoring menu.
More...
List of all members.
Detailed Description
realizes the rename action via the refactoring menu.
- Author:
- skaegebein
- Version:
- 0.8.0
- Since:
- 0.8.0
Constructor & Destructor Documentation
de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.RenameAction |
( |
String |
ident |
) |
|
Member Function Documentation
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.getActualselectedelement |
( |
|
) |
[package] |
- Returns:
- the actualselectedelement
String de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.getSelectedText |
( |
|
) |
|
IAXLangElement de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.handleSpecialIAXLangElement |
( |
IAXLangElement |
element, |
|
|
Role |
role | |
|
) |
| | [private] |
searches for the defined reference role and checks if the selectedText is equals to the identifier.
- Parameters:
-
- Returns:
boolean de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.isSearchedIAXLangElement |
( |
IAXLangElement |
element |
) |
throws BadLocationException [private] |
checks if the element is the current selected element. It's not possible to check the selectedText because the identifier must not be the same.
- Parameters:
-
- Returns:
- Exceptions:
-
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.run |
( |
|
) |
|
the reaction of the action.
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.setActualselectedelement |
( |
IAXLangElement |
theActualselectedelement |
) |
|
- Parameters:
-
| theActualselectedelement | the actualselectedelement to set |
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.setDocument |
( |
IDocument |
doc |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.setLinenumber |
( |
int |
theLinenumber |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.setOffset |
( |
int |
theOffset |
) |
|
void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.actions.RenameAction.setSelectedText |
( |
String |
selectedText |
) |
|
- Parameters:
-
| theselectedText | the selectedText to set |
Member Data Documentation