OSDN Git Service

Replace reflection with Sdk.makeRelativeTo
authorTor Norbye <tnorbye@google.com>
Tue, 30 Nov 2010 17:05:11 +0000 (09:05 -0800)
committerTor Norbye <tnorbye@google.com>
Tue, 30 Nov 2010 19:34:08 +0000 (11:34 -0800)
commit668e2e80ca60a02afd98276aa1e989c0d939bdc5
tree50cb5b8952f59c46636f3e05f2814caf53524686
parent935ae86b44c66f0ec0bd80d94b27b2739ef0549a
Replace reflection with Sdk.makeRelativeTo

Replace reflection-based invocation of IPath.makeRelativeTo
(which is not available in Eclipse 3.4) with usage of
Sdk.makeRelativeTo, our own copy of the equivalent code.

Change-Id: If67d985b96b845d85cf7fc13d47e9adeee49e8a8
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/LayoutCanvas.java