Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-02-13 07:40:32 +0000
committerUwe Stieber2013-02-13 07:40:32 +0000
commit45727370a146d2b7a4344f032023b667ae1066ce (patch)
tree7c4e75c146f54eefef9f6d542af7b306be234940 /target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal
parentea3bb832760b1e41ee836e0572113cb7bb098e35 (diff)
downloadorg.eclipse.tcf-45727370a146d2b7a4344f032023b667ae1066ce.tar.gz
org.eclipse.tcf-45727370a146d2b7a4344f032023b667ae1066ce.tar.xz
org.eclipse.tcf-45727370a146d2b7a4344f032023b667ae1066ce.zip
Target Explorer: Another adjustment to the categories contributions. "My Targets" and "Neighborhood" can be both hidden now, but still the discovered peers are visible (at root level).
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/adapters/CategorizableAdapter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/adapters/CategorizableAdapter.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/adapters/CategorizableAdapter.java
index 828737c3a..5470f8023 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/adapters/CategorizableAdapter.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/adapters/CategorizableAdapter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 Wind River Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2012, 2013 Wind River Systems, Inc. and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
@@ -14,9 +14,9 @@ import java.util.concurrent.atomic.AtomicBoolean;
import org.eclipse.core.runtime.Assert;
import org.eclipse.tcf.protocol.Protocol;
import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel;
-import org.eclipse.tcf.te.tcf.ui.interfaces.IUIConstants;
import org.eclipse.tcf.te.ui.views.Managers;
import org.eclipse.tcf.te.ui.views.interfaces.ICategory;
+import org.eclipse.tcf.te.ui.views.interfaces.IUIConstants;
import org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable;
/**
@@ -87,7 +87,7 @@ public class CategorizableAdapter implements ICategorizable {
}
// ALL: Destination is "Neighborhood" -> not valid
- if (org.eclipse.tcf.te.ui.views.interfaces.IUIConstants.ID_CAT_FAVORITES.equals(category.getId())) {
+ if (IUIConstants.ID_CAT_FAVORITES.equals(category.getId())) {
return true;
}
}

Back to the top