summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-05 04:12:58 (EDT)
committerEike Stepper2007-07-05 04:12:58 (EDT)
commitec1598a5e0bca868f63b71bea82db4c184b4db78 (patch)
tree6c12acb5a22603ac9611f253ce9edd4cd58536e0
parented0ac635b7b3f949905b438475604502e278fe4d (diff)
downloadcdo-ec1598a5e0bca868f63b71bea82db4c184b4db78.zip
cdo-ec1598a5e0bca868f63b71bea82db4c184b4db78.tar.gz
cdo-ec1598a5e0bca868f63b71bea82db4c184b4db78.tar.bz2
task 1: Develop 0.8.0
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOItemProvider.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOItemProvider.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOItemProvider.java
index 8fd7a3f..e07da4b 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOItemProvider.java
@@ -52,12 +52,13 @@ public class CDOItemProvider extends ContainerItemProvider
if (event instanceof CDOViewHistoryEvent)
{
CDOViewHistoryEvent e = (CDOViewHistoryEvent)event;
- CDOViewHistory history = e.getViewHistory();
- CDOView view = history.getView();
+ CDOView view = e.getViewHistory().getView();
refreshElement(view, false);
- if (e.getAddedEntry() != null)
+
+ Entry addedEntry = e.getAddedEntry();
+ if (addedEntry != null)
{
- revealElement(e.getAddedEntry());
+ revealElement(addedEntry);
}
}
}