VerticalLayoutContainer p = new VerticalLayoutContainer();
panel.add(p,new MarginData(5));
name = new TextField();
name.setToolTipConfig(new ToolTipConfig("组名称", "必填,可修改"){{setDismissDelay(0);}});
dir = new Radio();
dir.setBoxLabel("大目录");
dir.setToolTipConfig(new ToolTipConfig("大目录,不可修改", "该类型的组下面只能添加目录,不能添加Job任务"){{setDismissDelay(0);}});
leaf = new Radio();
leaf.setBoxLabel("小目录");
leaf.setToolTipConfig(new ToolTipConfig("小目录,不可修改", "该类型的组下只能添加Job任务,不能添加目录"){{setDismissDelay(0);}});
HorizontalPanel radios=new HorizontalPanel();
radios.add(dir);
radios.add(leaf);