mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Hg: remove unused incomplete action, remove javadocs
This commit is contained in:
@@ -30,18 +30,12 @@ import java.awt.datatransfer.StringSelection;
|
||||
*/
|
||||
public class HgCopyHistoryRevisionNumberAction extends AnAction implements DumbAware {
|
||||
|
||||
/**
|
||||
* The constructor
|
||||
*/
|
||||
public HgCopyHistoryRevisionNumberAction() {
|
||||
super(HgVcsMessages.message("hg4idea.history.copy.revision.number"),
|
||||
HgVcsMessages.message("hg4idea.history.copy.revision.number"),
|
||||
PlatformIcons.COPY_ICON);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
VcsFileRevision revision = e.getData(VcsDataKeys.VCS_FILE_REVISION);
|
||||
@@ -50,9 +44,6 @@ public class HgCopyHistoryRevisionNumberAction extends AnAction implements DumbA
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void update(AnActionEvent e) {
|
||||
super.update(e);
|
||||
|
||||
@@ -16,7 +16,6 @@ import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vcs.FilePath;
|
||||
import com.intellij.openapi.vcs.VcsException;
|
||||
import com.intellij.openapi.vcs.annotate.ShowAllAffectedGenericAction;
|
||||
import com.intellij.openapi.vcs.history.*;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.ui.ColumnInfo;
|
||||
@@ -46,12 +45,12 @@ public class HgHistoryProvider implements VcsHistoryProvider {
|
||||
}
|
||||
|
||||
public VcsDependentHistoryComponents getUICustomization(VcsHistorySession session,
|
||||
JComponent forShortcutRegistration) {
|
||||
JComponent forShortcutRegistration) {
|
||||
return VcsDependentHistoryComponents.createOnlyColumns(new ColumnInfo[0]);
|
||||
}
|
||||
|
||||
public AnAction[] getAdditionalActions(Runnable runnable) {
|
||||
return new AnAction[]{ShowAllAffectedGenericAction.getInstance(), new HgCopyHistoryRevisionNumberAction()};
|
||||
return new AnAction[]{new HgCopyHistoryRevisionNumberAction()};
|
||||
}
|
||||
|
||||
public boolean isDateOmittable() {
|
||||
|
||||
Reference in New Issue
Block a user