public class FaultTreeVisualizer
extends java.lang.Object
Constructor and Description |
---|
FaultTreeVisualizer() |
Modifier and Type | Method and Description |
---|---|
static FaultTreeVisualizer |
getInstance()
Gets the single instance of FaultTreeVisualizer.
|
void |
openFTAViewerFromEmftaFile(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Open FTA viewer from emfta file.
|
void |
openFTAViewerFromFTAResource(org.eclipse.emf.ecore.resource.Resource ftaResource,
org.eclipse.core.runtime.IProgressMonitor monitor)
Open FTA viewer from FTA resource.
|
void |
openFTAViewerFromSelectedXmlFile(org.eclipse.jface.viewers.IStructuredSelection selection,
org.eclipse.core.runtime.IProgressMonitor monitor)
Open FTA viewer from selected xml file.
|
void |
openXmlIFileInFTAViewer(org.eclipse.core.resources.IFile xmlIFile,
org.eclipse.core.runtime.IProgressMonitor monitor)
Open xml I file in FTA viewer.
|
void |
openXmlIFileInFTAViewer(java.lang.String xmlFilePath,
org.eclipse.core.runtime.IProgressMonitor monitor)
Open xml I file in FTA viewer.
|
void |
openXMLIFileInFTAViewerFromDialog(org.eclipse.core.runtime.IProgressMonitor monitor)
Open XMLI file in FTA viewer from dialog.
|
public static FaultTreeVisualizer getInstance()
public void openFTAViewerFromEmftaFile(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
file
- the filemonitor
- the monitorjava.lang.Exception
- the exceptionpublic void openFTAViewerFromSelectedXmlFile(org.eclipse.jface.viewers.IStructuredSelection selection, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
selection
- the selectionmonitor
- the monitorjava.lang.Exception
- the exceptionpublic void openXMLIFileInFTAViewerFromDialog(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
monitor
- the monitorjava.lang.Exception
- the exceptionpublic void openXmlIFileInFTAViewer(java.lang.String xmlFilePath, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
xmlFilePath
- the xml file pathmonitor
- the monitorjava.lang.Exception
- the exceptionpublic void openXmlIFileInFTAViewer(org.eclipse.core.resources.IFile xmlIFile, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
xmlIFile
- the xml I filemonitor
- the monitorjava.lang.Exception
- the exceptionpublic void openFTAViewerFromFTAResource(org.eclipse.emf.ecore.resource.Resource ftaResource, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.Exception
ftaResource
- the fta resourcemonitor
- the monitorjava.lang.Exception
- the exception