use of com.intellij.openapi.vcs.changes.ui.EditChangelistDialog in project intellij-community by JetBrains.
the class RenameChangeListAction method actionPerformed.
public void actionPerformed(AnActionEvent e) {
Project project = e.getData(CommonDataKeys.PROJECT);
ChangeList[] lists = e.getData(VcsDataKeys.CHANGE_LISTS);
assert lists != null;
final LocalChangeList list = ChangeListManager.getInstance(project).findChangeList(lists[0].getName());
if (list != null) {
new EditChangelistDialog(project, list).show();
}
}
Aggregations