summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-11-07 06:52:37 (EST)
committerEike Stepper2007-11-07 06:52:37 (EST)
commita98533e794568b7a2fe000457f198e5b134404f3 (patch)
tree3ebddb93f8e1e4ce281bab05c9f8b97c25ee36ca
parent2dc319a39d530bab406ee3a3e3e386b81f216698 (diff)
downloadcdo-a98533e794568b7a2fe000457f198e5b134404f3.zip
cdo-a98533e794568b7a2fe000457f198e5b134404f3.tar.gz
cdo-a98533e794568b7a2fe000457f198e5b134404f3.tar.bz2
[209004] Connectors view doesn't show IConnectors anymore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209004
-rw-r--r--plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/views/ConnectorsView.java18
-rw-r--r--plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/StructuredContentProvider.java2
2 files changed, 1 insertions, 19 deletions
diff --git a/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/views/ConnectorsView.java b/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/views/ConnectorsView.java
index 03a5dbd..fc40e5e 100644
--- a/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/views/ConnectorsView.java
+++ b/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/views/ConnectorsView.java
@@ -8,19 +8,8 @@ import org.eclipse.net4j.util.ui.views.ContainerItemProvider;
import org.eclipse.net4j.util.ui.views.ContainerView;
import org.eclipse.net4j.util.ui.views.IElementFilter;
-import org.eclipse.jface.action.IToolBarManager;
-
public class ConnectorsView extends ContainerView
{
- // private Action addConnectorAction = new SafeAction("Add Connector", "Add a connector", getAddImageDescriptor())
- // {
- // @Override
- // protected void doRun() throws Exception
- // {
- // Net4jUtil.getConnector(IPluginContainer.INSTANCE, "tcp", "127.0.0.1:2036");
- // }
- // };
-
public ConnectorsView()
{
}
@@ -42,11 +31,4 @@ public class ConnectorsView extends ContainerView
}
});
}
-
- @Override
- protected void fillLocalToolBar(IToolBarManager manager)
- {
- // manager.add(addConnectorAction);
- super.fillLocalToolBar(manager);
- }
} \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/StructuredContentProvider.java b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/StructuredContentProvider.java
index ca7b554..cdea2b2 100644
--- a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/StructuredContentProvider.java
+++ b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/StructuredContentProvider.java
@@ -99,7 +99,7 @@ public abstract class StructuredContentProvider<INPUT> implements IStructuredCon
{
try
{
- if (element != null)
+ if (element != null && element != input)
{
viewer.refresh(element, updateLabels);
}