|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.bpmn2.util.Bpmn2URIHelper
public class Bpmn2URIHelper
Helper class to deal with EMF URIs.
Constructor Summary | |
---|---|
Bpmn2URIHelper()
|
Method Summary | |
---|---|
static org.eclipse.emf.common.util.URI |
covertToPlatformURI(org.eclipse.emf.common.util.URI fileURI)
This method will convert the file URI to platform URI if the file is part of workspace resource |
static org.eclipse.emf.common.util.URI |
getMostRelativeURI(org.eclipse.emf.common.util.URI uri,
org.eclipse.emf.ecore.EObject referencer)
Given a URI, return a URI that is the most relative to where the user is in the workspace. |
static org.eclipse.emf.common.util.URI |
getMostRelativeURI(org.eclipse.emf.common.util.URI uri,
org.eclipse.emf.ecore.resource.Resource resource)
Given a URI, return a URI that is the most relative to where the user is in the workspace. |
static boolean |
isSameProject(org.eclipse.emf.common.util.URI uriA,
org.eclipse.emf.common.util.URI uriB)
This method will check whether the given URIs are belongs to the same project or not |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bpmn2URIHelper()
Method Detail |
---|
public static org.eclipse.emf.common.util.URI getMostRelativeURI(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.EObject referencer)
uri
- Incoming URI to be convertedreferencer
- EObject that references the resource the URI identifies
public static org.eclipse.emf.common.util.URI getMostRelativeURI(org.eclipse.emf.common.util.URI uri, org.eclipse.emf.ecore.resource.Resource resource)
uri
- Incoming URI to be convertedresource
- The resource that URI identifies
public static boolean isSameProject(org.eclipse.emf.common.util.URI uriA, org.eclipse.emf.common.util.URI uriB)
uriA
- uriB
-
public static org.eclipse.emf.common.util.URI covertToPlatformURI(org.eclipse.emf.common.util.URI fileURI)
fileURI
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |