]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/views/ModulesView.java
Normalize distirbution command
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / views / ModulesView.java
index 6745d91b8641f7ed504cfe39818b8e519b5f7b3e..0c0a679b177029518376266277e40eed8e7c22a0 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2007-2012 Mathieu Baudier
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.argeo.slc.client.ui.dist.views;
 
 import java.util.Comparator;
@@ -10,7 +25,6 @@ import java.util.TreeSet;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.argeo.eclipse.ui.TreeObject;
 import org.argeo.eclipse.ui.TreeParent;
 import org.argeo.slc.client.ui.dist.DistPlugin;
 import org.eclipse.jface.viewers.ITableLabelProvider;
@@ -299,7 +313,7 @@ public class ModulesView extends ViewPart {
                                addChild(usingBundles);
                                for (Bundle b : usedBundles) {
                                        if (b != null)
-                                               usingBundles.addChild(new TreeObject(b
+                                               usingBundles.addChild(new TreeParent(b
                                                                .getSymbolicName()));
                                }
                        }
@@ -307,7 +321,7 @@ public class ModulesView extends ViewPart {
                        TreeParent properties = new TreeParent("Properties");
                        addChild(properties);
                        for (String key : serviceReference.getPropertyKeys()) {
-                               properties.addChild(new TreeObject(key + "="
+                               properties.addChild(new TreeParent(key + "="
                                                + serviceReference.getProperty(key)));
                        }