Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2010-11-22 04:38:28 -0500
committerDani Megert2010-11-22 04:38:28 -0500
commitb1eec7fc0cd88da46c535f59e10a1a75954d36c5 (patch)
treef8a8ad0850f1f4b67531271e1ebde793208798d7
parent48ae646d8bf4691b03b5ca5bffabfdb4df625640 (diff)
downloadeclipse.platform.debug-b1eec7fc0cd88da46c535f59e10a1a75954d36c5.tar.gz
eclipse.platform.debug-b1eec7fc0cd88da46c535f59e10a1a75954d36c5.tar.xz
eclipse.platform.debug-b1eec7fc0cd88da46c535f59e10a1a75954d36c5.zip
Fixed compile warning in official build.
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeCursor.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeCursor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeCursor.java
index 0aeb59ae2..baf851655 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeCursor.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeCursor.java
@@ -193,20 +193,20 @@ public TreeCursor(Tree parent, int style) {
public void handleEvent(Event event) {
switch (event.type) {
case SWT.Dispose :
- dispose(event);
+ treeCursorDispose(event);
break;
case SWT.FocusIn :
case SWT.FocusOut :
redraw();
break;
case SWT.KeyDown :
- keyDown(event);
+ treeCursorKeyDown(event);
break;
case SWT.Paint :
- paint(event);
+ treeCursorPaint(event);
break;
case SWT.Traverse :
- traverse(event);
+ treeCursorTraverse(event);
break;
}
}
@@ -299,7 +299,7 @@ public void addSelectionListener(SelectionListener listener) {
/**
* @param event
*/
-void dispose(Event event) {
+void treeCursorDispose(Event event) {
tree.removeListener(SWT.FocusIn, treeListener);
tree.removeListener(SWT.MouseDown, treeListener);
if (column != null) {
@@ -322,7 +322,7 @@ void dispose(Event event) {
}
}
-void keyDown(Event event) {
+void treeCursorKeyDown(Event event) {
if (row == null) return;
switch (event.character) {
case SWT.CR :
@@ -402,7 +402,7 @@ void keyDown(Event event) {
}
}
-void paint(Event event) {
+void treeCursorPaint(Event event) {
if (row == null) return;
int columnIndex = column == null ? 0 : tree.indexOf(column);
GC gc = event.gc;
@@ -523,7 +523,7 @@ void tableMouseDown(Event event) {
return;
}
-void traverse(Event event) {
+void treeCursorTraverse(Event event) {
switch (event.detail) {
case SWT.TRAVERSE_ARROW_NEXT :
case SWT.TRAVERSE_ARROW_PREVIOUS :

Back to the top