p.add(value);
}
}
if (node.getType() == TreeNode.CONTEXT_NODE) {
Context ctx = (Context) node;
JLabel l1 = new JLabel("Context: ");
l1.setFont(f);
l1.setAlignmentY(Component.CENTER_ALIGNMENT);
p.add(l1);
name = new JTextField(10);
name.addKeyListener(this);
name.setAlignmentY(Component.CENTER_ALIGNMENT);
name.setToolTipText("This specifies the base-path of the profile. All resources within the "
+ "profile are relative from this base.");
if (ctx.getBase() != null)
name.setText(ctx.getBase());
p.add(name);
}
if (node.getType() == TreeNode.INCLUDE_FILTER_NODE) {
IncludeFilterNode inc = (IncludeFilterNode) node;