use of com.google.security.zynamics.binnavi.Gui.GraphWindows.CommentDialogs.EditVariableDialog in project binnavi by google.
the class RenameTypeInstanceAction method actionPerformed.
@Override
public void actionPerformed(final ActionEvent e) {
final EditVariableDialog dialog = EditVariableDialog.CreateEditVariableDialog(parent, typeInstance.getName());
dialog.setVisible(true);
if (dialog.wasOkClicked()) {
try {
instanceContainer.setInstanceName(typeInstance, dialog.getVariableName());
} catch (CouldntSaveDataException | CouldntLoadDataException exception) {
CUtilityFunctions.logException(exception);
}
}
}
Aggregations