Exemplo n.º 1
0
 // Overridden
 protected DynamicNode createSecondaryNode(DbObject dbParent, DbObject dbo) throws DbException {
   DynamicNode primNode = getDynamicNode(dbo, true);
   DynamicNode node = new DynamicNode(primNode, primNode.insertIndex);
   node.setGroupParams(getGroupParams(dbParent, dbo));
   node.setDefaultAction(getDefaultAction(dbo));
   return node;
 }
Exemplo n.º 2
0
 private DynamicNode createGroupNode(GroupParams group) {
   DynamicNode groupNode = new DynamicNode(group);
   groupNode.setDisplayText(group.name);
   groupNode.setIcon(group.icon);
   groupNode.setGroupParams(group);
   groupNode.setHasLoaded();
   return groupNode;
 }
Exemplo n.º 3
0
 // Overridden
 protected DynamicNode createPrimaryNode(DbObject dbParent, DbObject dbo) throws DbException {
   DynamicNode node = new DynamicNode(dbo, getSequence(dbParent, dbo));
   String displayText = getDisplayText(dbParent, dbo);
   String editText = getEditText(dbParent, dbo);
   String tooltips = getToolTipsText(dbParent, dbo);
   node.setDisplayText(displayText, editText);
   node.setToolTips(tooltips);
   node.setIcon(getIcon(dbo));
   node.setGroupParams(getGroupParams(dbParent, dbo));
   node.setIsLeaf(isLeaf(dbParent, dbo));
   node.setDefaultAction(getDefaultAction(dbo));
   return node;
 }