|
|
@ -50,6 +50,8 @@ public class VcsNewPane extends RecyclePane{ |
|
|
|
|
|
|
|
|
|
|
|
protected static int EDIT_COL = 4; |
|
|
|
protected static int EDIT_COL = 4; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final int DOUBLE_CLICK_COUNT = 2; |
|
|
|
protected VcsOperatorPane operatorPane; |
|
|
|
protected VcsOperatorPane operatorPane; |
|
|
|
private static final Icon PREVIEW_ICON = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_operator_preview"); |
|
|
|
private static final Icon PREVIEW_ICON = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_operator_preview"); |
|
|
|
private static final Icon DELETE_ICON = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_operator_delete"); |
|
|
|
private static final Icon DELETE_ICON = IconUtils.readIcon("/com/fr/design/standard/vcslist/vcs_operator_delete"); |
|
|
@ -307,7 +309,7 @@ public class VcsNewPane extends RecyclePane{ |
|
|
|
table.addMouseListener(new MouseAdapter() { |
|
|
|
table.addMouseListener(new MouseAdapter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
if (e.getClickCount() == 2) { |
|
|
|
if (e.getClickCount() == DOUBLE_CLICK_COUNT) { |
|
|
|
Point point = e.getPoint(); |
|
|
|
Point point = e.getPoint(); |
|
|
|
int row = table.rowAtPoint(point); |
|
|
|
int row = table.rowAtPoint(point); |
|
|
|
int col = table.columnAtPoint(point); |
|
|
|
int col = table.columnAtPoint(point); |
|
|
|