Ignore:
Timestamp:
10/25/05 11:49:11 (19 years ago)
Author:
boris
Message:
  • you can now click in the plus thingie on the packages and see classes also
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt/src/org/modelica/mdt/MdtPlugin.java

    r72 r88  
    4141
    4242package org.modelica.mdt;
     43
    4344import org.eclipse.core.resources.IProject;
    4445import org.eclipse.core.resources.IProjectDescription;
     
    166167                "Internal Error", e));
    167168    }
     169   
     170    /**
     171     * Note: This method is for internal use only. Clients should not call this method.
     172     */
     173    public static Object[] concatenate(Object[] a1, Object[] a2)
     174    {
     175        int a1Len = 0;
     176        int a2Len = 0;
     177        if (a1 != null)
     178        {
     179            a1Len= a1.length;           
     180        }
     181        if (a2 != null)
     182        {
     183            a2Len= a2.length;
     184        }
     185       
     186        Object[] res=  new Object[a1Len + a2Len];
     187        System.out.println(res.getClass());
     188       
     189        if (a1 != null)
     190        {
     191            System.arraycopy(a1, 0, res, 0, a1Len);
     192        }
     193        if (a2 != null)
     194        {
     195            System.arraycopy(a2, 0, res, a1Len, a2Len);
     196        }
     197        return res;
     198    }
    168199}
Note: See TracChangeset for help on using the changeset viewer.