org.eclipse.hyades.probekit.editor.internal.core.util
Class ProbekitUtil
java.lang.Object
org.eclipse.hyades.probekit.editor.internal.core.util.ProbekitUtil
- public class ProbekitUtil
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
getDataItemName(DataItem item)
|
static java.lang.String |
getDataTypeName(DataItem item)
|
static org.eclipse.jdt.core.IJavaProject |
getJavaProject(org.eclipse.emf.ecore.EObject eObject)
Prerequisite: the EObject must be an instanceof one of the Probekit EObjects. |
static org.eclipse.core.resources.IFile |
getProbeFile(org.eclipse.emf.ecore.EObject eObject)
Prerequisite: the EObject must be an instanceof one of the Probekit EObjects. |
static java.util.List |
getProbeFiles()
|
static boolean |
isSupportedPlatform()
|
static java.util.Collection |
unwrap(java.util.Collection collection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URI_SCHEME_PLATFORM
public static final java.lang.String URI_SCHEME_PLATFORM
- See Also:
- Constant Field Values
URI_RESOURCE
public static final java.lang.String URI_RESOURCE
- See Also:
- Constant Field Values
PROBEKIT_ICON_PATH
public static final java.lang.String PROBEKIT_ICON_PATH
- See Also:
- Constant Field Values
getDataTypeName
public static java.lang.String getDataTypeName(DataItem item)
getDataItemName
public static java.lang.String getDataItemName(DataItem item)
getProbeFiles
public static java.util.List getProbeFiles()
throws org.eclipse.jdt.core.JavaModelException,
org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.jdt.core.JavaModelException
org.eclipse.core.runtime.CoreException
isSupportedPlatform
public static boolean isSupportedPlatform()
getProbeFile
public static org.eclipse.core.resources.IFile getProbeFile(org.eclipse.emf.ecore.EObject eObject)
- Prerequisite: the EObject must be an instanceof one of the Probekit EObjects.
getJavaProject
public static org.eclipse.jdt.core.IJavaProject getJavaProject(org.eclipse.emf.ecore.EObject eObject)
- Prerequisite: the EObject must be an instanceof one of the Probekit EObjects.
unwrap
public static java.util.Collection unwrap(java.util.Collection collection)