コード例 #1
0
ファイル: XttRefObj.java プロジェクト: Strongc/proview
 /**
  * Constructor for the XttRefObj object
  *
  * @param fullname Description of the Parameter
  * @param en Description of the Parameter
  * @param cid Description of the Parameter
  * @param treeNode Description of the Parameter
  * @param index Description of the Parameter
  */
 public XttRefObj(
     String fullname,
     JopEngine en,
     int cid, /*String showableClassName,*/
     DefaultMutableTreeNode treeNode,
     int index) {
   this.index = index;
   this.fullname = fullname;
   XttRefObj.en = en;
   this.cid = cid;
   //    this.showableClassName = showableClassName;
   if (index < 0) {
     Logg.logg("Fel vid försök att debugga", 0);
     return;
   }
   CdhrObjAttr oa = AttrObj[index];
   Logg.logg("XttRefObj konstruktor", 6);
   if (oa != null) {
     objAttribute = new XttObjAttr(oa);
     objAttribute.treeNode = treeNode;
     objAttribute.showName = false;
     en.add(this);
   } else {
     Logg.logg("Kan ej debugga " + fullname + " cid: " + cid + " på index " + index, 0);
   }
 }