diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-02-23 11:58:09 -0500 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2012-02-23 11:58:09 -0500 |
commit | 7cf8ec47ce4db03e1986c7fd1d969608eee20f71 (patch) | |
tree | 003f3ca6ebf1c8ac523d5288a8cf8b5d540343cc /bundles/org.eclipse.swt/Eclipse SWT PI/wpf | |
parent | f1be364c1b97911cbcdda6fd507fc5d82efe8be0 (diff) | |
download | eclipse.platform.swt-7cf8ec47ce4db03e1986c7fd1d969608eee20f71.tar.gz eclipse.platform.swt-7cf8ec47ce4db03e1986c7fd1d969608eee20f71.tar.xz eclipse.platform.swt-7cf8ec47ce4db03e1986c7fd1d969608eee20f71.zip |
move implementation from Platform to Library
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/wpf')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/Platform.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/Platform.java index af0286f6b3..7607ac95a3 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/Platform.java @@ -12,6 +12,10 @@ package org.eclipse.swt.internal; public class Platform { -public static final String PLATFORM = "wpf"; + public static final String PLATFORM = "wpf"; + +public static boolean isLoadable () { + return Library.isLoadable (); +} } |