|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectmetricsOverlay.xml.XMLManager
public class XMLManager
This singleton class manages the stored location of XML files for the plug-in.
Method Summary | |
---|---|
static java.lang.String |
extractXMLPath(org.eclipse.core.runtime.IPath path)
This method extracts the appropriate XML path, given the absolute path of a java file. |
static XMLManager |
getInstance()
Returns an instance of this singleton class. |
MetricDocument |
locateXML(org.eclipse.core.runtime.IPath path)
This method locates the XML for a Java file used in eclipse, reads in the XML and creates a document representing the metrics to be overlaid. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLManager getInstance()
public MetricDocument locateXML(org.eclipse.core.runtime.IPath path)
path
- the absolute path to the Java file.
public static java.lang.String extractXMLPath(org.eclipse.core.runtime.IPath path)
path
- the absolute path of the Java file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |