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;
addChild(usingBundles);
for (Bundle b : usedBundles) {
if (b != null)
- usingBundles.addChild(new TreeObject(b
+ usingBundles.addChild(new TreeParent(b
.getSymbolicName()));
}
}
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)));
}
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.execution.ExecutionFlowDescriptor;
import org.argeo.slc.execution.ExecutionModuleDescriptor;
* we store the parent node (execution module node) & the
* ExecutionFlowDescriptor.
*/
- public class FlowNode extends TreeObject {
+ public class FlowNode extends TreeParent {
private final String flowName;
private final ExecutionModuleNode executionModuleNode;
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.core.structure.tree.TreeSPath;
import org.argeo.slc.core.test.tree.PartSubList;
}
public Object getParent(Object node) {
- if (node instanceof TreeObject) {
- return ((TreeObject) node).getParent();
+ if (node instanceof TreeParent) {
+ return ((TreeParent) node).getParent();
}
return null;
}
if (node instanceof ResultTreeParent) {
ResultTreeParent rtp = (ResultTreeParent) node;
// we dig the tree recursivly
- for (TreeObject to : rtp.getChildren())
+ for (TreeParent to : rtp.getChildren())
setIsPassed((StatusAware) to);
// we set is passed
- for (TreeObject to : rtp.getChildren()) {
+ for (TreeParent to : rtp.getChildren()) {
if (!((StatusAware) to).isPassed()) {
rtp.isPassed = false;
return;
}
}
- public class ResultTreeObject extends TreeObject implements StatusAware {
+ public class ResultTreeObject extends TreeParent implements StatusAware {
public ResultTreeObject(String name) {
super(name);