|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.traceability.hmi.util.FileNameUtils
public class FileNameUtils
Constructor Summary | |
---|---|
FileNameUtils()
|
Method Summary | |
---|---|
static org.eclipse.core.runtime.IPath |
diagramToResult(org.eclipse.core.resources.IFile inputFile)
Given an inputFile pointing to a diagram file, returns the path of the corresponding result file. |
static org.eclipse.core.runtime.IPath |
getResultFileFullPath(org.eclipse.core.runtime.IPath path)
|
static org.eclipse.core.runtime.IPath |
getResultFilePath(org.eclipse.ui.part.FileEditorInput fileInput)
|
static boolean |
isDiagram(org.eclipse.core.resources.IFile inputFile)
Does an inputFile points to a diagram (*.ttmdi) ? |
static boolean |
isResult(org.eclipse.core.resources.IFile inputFile)
Does an inputFile points to a result file (*.ttmresults) ? |
static org.eclipse.core.runtime.IPath |
resultToDiagram(org.eclipse.core.resources.IFile inputFile)
Given an inputFile pointing to a result file, returns the path of the corresponding diagram file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileNameUtils()
Method Detail |
---|
public static boolean isDiagram(org.eclipse.core.resources.IFile inputFile)
inputFile
-
public static boolean isResult(org.eclipse.core.resources.IFile inputFile)
inputFile
-
public static org.eclipse.core.runtime.IPath resultToDiagram(org.eclipse.core.resources.IFile inputFile)
inputFile
-
public static org.eclipse.core.runtime.IPath diagramToResult(org.eclipse.core.resources.IFile inputFile)
inputFile
-
public static org.eclipse.core.runtime.IPath getResultFilePath(org.eclipse.ui.part.FileEditorInput fileInput)
public static org.eclipse.core.runtime.IPath getResultFileFullPath(org.eclipse.core.runtime.IPath path)
|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.