コード例 #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;
 }
コード例 #2
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;
 }