public virtual void addSubAssembly(OO7_Assembly x)
 {
     theSubAssemblies.Add(x);
     Modify();
 }
Example #2
0
 protected internal virtual void traversal(OO7_Assembly anAssembly, System.Collections.Hashtable aTable)
 {
     if (anAssembly is OO7_BaseAssembly)
     {
         // System.out.println( "Base Assembly Class: " );
         OO7_BaseAssembly baseAssembly = (OO7_BaseAssembly) anAssembly;
         System.Collections.IEnumerator compIterator = baseAssembly.componentsShar().GetEnumerator();
         //UPGRADE_TODO: Method 'java.util.Iterator.hasNext' was converted to 'System.Collections.IEnumerator.MoveNext' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratorhasNext'"
         while (compIterator.MoveNext())
         {
             //UPGRADE_TODO: Method 'java.util.Iterator.next' was converted to 'System.Collections.IEnumerator.Current' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratornext'"
             OO7_CompositePart compositePart = (OO7_CompositePart) compIterator.Current;
             dfs(compositePart);
         }
     }
     else
     {
         OO7_ComplexAssembly complexAssembly = (OO7_ComplexAssembly) anAssembly;
         System.Collections.IEnumerator aIterator = complexAssembly.subAssemblies().GetEnumerator();
         //UPGRADE_TODO: Method 'java.util.Iterator.hasNext' was converted to 'System.Collections.IEnumerator.MoveNext' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratorhasNext'"
         while (aIterator.MoveNext())
         {
             //UPGRADE_TODO: Method 'java.util.Iterator.next' was converted to 'System.Collections.IEnumerator.Current' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratornext'"
             traversal((OO7_Assembly) aIterator.Current, aTable);
         }
     }
 }