Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2017-09-26 07:50:08 +0000
committerVikas Chandra2017-09-26 07:50:08 +0000
commit7dab2118c8b75a710c2ae67aa8ea4fd487b92656 (patch)
treea88b2dc1ef2882d08a1c3ef6a89d35c40aec1d89
parent8d3ed312bd557c1729bec2ef86641d3c7bb0dc1f (diff)
downloadeclipse.pde.ui-7dab2118c8b75a710c2ae67aa8ea4fd487b92656.tar.gz
eclipse.pde.ui-7dab2118c8b75a710c2ae67aa8ea4fd487b92656.tar.xz
eclipse.pde.ui-7dab2118c8b75a710c2ae67aa8ea4fd487b92656.zip
Bug 522230 - Automated Management of Dependencies: Up does not preserveI20170927-2000I20170927-0420I20170926-2000
selection Change-Id: I7267fc8868a29d263e42c2d729e12f91432a542f Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
-rw-r--r--ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyManagementSection.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyManagementSection.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyManagementSection.java
index 4de4a62ab0..91b75a62c8 100644
--- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyManagementSection.java
+++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyManagementSection.java
@@ -85,7 +85,6 @@ public class DependencyManagementSection extends TableSection implements IPlugin
private static String OPEN = PDEUIMessages.RequiresSection_open;
private static String UP = PDEUIMessages.RequiresSection_up;
private static String DOWN = PDEUIMessages.RequiresSection_down;
- private Object entrySelectedObject = null;
class ContentProvider implements IStructuredContentProvider {
@@ -128,7 +127,6 @@ public class DependencyManagementSection extends TableSection implements IPlugin
class SecondaryTableLabelProvider extends SharedLabelProvider {
@Override
public String getColumnText(Object obj, int index) {
- entrySelectedObject = obj;
return obj.toString();
}
@@ -475,7 +473,6 @@ public class DependencyManagementSection extends TableSection implements IPlugin
Object changedObject = event.getChangedObjects()[0];
if ((changedObject instanceof IBuildEntry && ((IBuildEntry) changedObject).getName().equals(IBuildEntry.SECONDARY_DEPENDENCIES))) {
refresh();
- fAdditionalTable.setSelection(new StructuredSelection(entrySelectedObject));
fAdditionalTable.getTable().setFocus();
}
return Status.OK_STATUS;

Back to the top