|
|
|
@ -50,6 +50,8 @@ public class VcsNewPane extends RecyclePane{
|
|
|
|
|
|
|
|
|
|
protected static int EDIT_COL = 4; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final int DOUBLE_CLICK_COUNT = 2; |
|
|
|
|
protected VcsOperatorPane operatorPane; |
|
|
|
|
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"); |
|
|
|
@ -307,7 +309,7 @@ public class VcsNewPane extends RecyclePane{
|
|
|
|
|
table.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
if (e.getClickCount() == 2) { |
|
|
|
|
if (e.getClickCount() == DOUBLE_CLICK_COUNT) { |
|
|
|
|
Point point = e.getPoint(); |
|
|
|
|
int row = table.rowAtPoint(point); |
|
|
|
|
int col = table.columnAtPoint(point); |
|
|
|
|