提交 2819e157 编写于 作者: J jurgen

Expand grid on double click

上级 f7fc7b59
BUG: insert explicit values for auto-increment columns in data transfer (configurable)
BerkeleyDB
Search (ctl+f) in header
Expand/collapse All in Grid
Edit collections
Edit Mongo data
Plain-text results representation
Move main toolbar edit control in tab
......@@ -14,13 +18,13 @@ Driver popularity score for drivers ordering (MySQL, Oracle, DB2 on the top)
SSL
Secure-storage for passwords
4. Query manager fixes. + keep only primitive props + persistence
5. Connection per editor support. Host ExecutionContext in editors instead of DataSource.
7. Check on MacOS
8. HTTP tunnel?
Aster Teradata
BerkeleyDB
Connection "dirty" flag handle
Office formats support (xls, doc) for export/import. Possibly office extension.
......
......@@ -2830,12 +2830,23 @@ public abstract class LightGrid extends Canvas {
Point point = new Point(e.x, e.y);
int row = getRow(point);
GridColumn col = getColumn(point);
if (row >= 0 && col != null) {
if (isListening(SWT.DefaultSelection)) {
Event newEvent = new Event();
newEvent.data = new GridCell(col.getElement(), rowElements[row]);
if (row >= 0) {
if (col != null) {
if (isListening(SWT.DefaultSelection)) {
Event newEvent = new Event();
newEvent.data = new GridCell(col.getElement(), rowElements[row]);
notifyListeners(SWT.DefaultSelection, newEvent);
notifyListeners(SWT.DefaultSelection, newEvent);
}
} else {
GridNode node = rowNodes.get(rowElements[row]);
GridNode parentNode = parentNodes[row];
if (node != null && node.state != IGridContentProvider.ElementState.NONE) {
if (!GridRowRenderer.isOverExpander(e.x, parentNode == null ? 0 : parentNode.level))
{
toggleRowState(row);
}
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册