|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jps.util.RSMResource
public class RSMResource
Contains utilities to manipulate Eclipse resources.
Constructor Summary | |
---|---|
RSMResource()
|
Method Summary | |
---|---|
static org.eclipse.core.resources.IMarker |
addMarker(org.eclipse.core.resources.IResource onRsrc,
java.lang.String description,
int severity)
Adds a new marker for the specified resource |
static org.eclipse.core.runtime.IConfigurationElement |
findConfigElement(org.eclipse.core.runtime.IExtension inExt,
java.lang.String inConfigElementName)
Returns the configuration element with the specified name in the specified extension |
static org.eclipse.core.runtime.IExtension |
findExtension(java.lang.String inExtensionPointName,
java.lang.String inExtensionId)
Retrieves the extension registered in this platform for the given extension point and id |
static java.lang.String |
getId(org.eclipse.emf.ecore.EObject inEObject)
Returns the unique ID of the input ecore object |
static org.eclipse.core.resources.IProject |
getProject(org.eclipse.uml2.uml.NamedElement elt)
Retrieves the Eclipse project containing the model of the specified NamedElement |
static org.eclipse.core.resources.IProject |
getProject(java.lang.String projectName)
Retrieves the Eclipse project corresponding to the specified project name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSMResource()
Method Detail |
---|
public static org.eclipse.core.resources.IMarker addMarker(org.eclipse.core.resources.IResource onRsrc, java.lang.String description, int severity)
onRsrc
- The resource the marker will be added todescription
- The text associated with the markerseverity
- The severity of the marker (e.g. IMarker.SEVERITY_ERROR)
public static org.eclipse.core.runtime.IConfigurationElement findConfigElement(org.eclipse.core.runtime.IExtension inExt, java.lang.String inConfigElementName)
inExt
- The extension to searchinConfigElementName
- The name of the configuration element
public static org.eclipse.core.runtime.IExtension findExtension(java.lang.String inExtensionPointName, java.lang.String inExtensionId)
inExtensionPointName
- The name of the extension pointinExtensionId
- The ID of the extension
public static java.lang.String getId(org.eclipse.emf.ecore.EObject inEObject)
inEObject
- The ecore object
public static org.eclipse.core.resources.IProject getProject(org.eclipse.uml2.uml.NamedElement elt)
elt
- The NamedElement
public static org.eclipse.core.resources.IProject getProject(java.lang.String projectName)
projectName
- The name of the Eclipse project
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |