|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.amp.escape.ide.ParameterReader
public class ParameterReader
The Class ParameterReader.
Constructor Summary | |
---|---|
ParameterReader(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IPath paramPath)
The Constructor. |
|
ParameterReader(org.eclipse.core.resources.IResource resource)
Instantiates a new parameter reader. |
|
ParameterReader(java.lang.String projectName,
java.lang.String path)
Instantiates a new parameter reader. |
Method Summary | |
---|---|
static java.lang.String[] |
argsFromPV(java.util.List<ParamValue> pvArgs)
Args from pv. |
java.util.List<ExpectedValue> |
getConstraints()
Gets the constraints. |
org.eclipse.core.resources.IFile |
getFile()
Gets the file. |
org.eclipse.core.runtime.IPath |
getIncorporated(org.eclipse.core.runtime.IPath filePath)
Gets the incorporated. |
java.lang.String |
getName()
Gets the name. |
org.eclipse.core.runtime.IPath |
getParamPath()
Gets the param path. |
org.eclipse.core.resources.IProject |
getProject()
Gets the project. |
java.lang.String |
getProjectName()
Gets the project name. |
ParameterReader |
getRelative(org.eclipse.core.runtime.IPath newPath)
Gets the relative. |
ParameterReader |
getTested()
Gets the tested. |
static org.eclipse.core.runtime.IPath |
makeRelativeTo(org.eclipse.core.runtime.IPath target,
org.eclipse.core.runtime.IPath base)
Make relative to. |
static int |
matchingFirstSegments(org.eclipse.core.runtime.IPath target,
org.eclipse.core.runtime.IPath anotherPath)
Matching first segments. |
static java.util.List<ParamValue> |
mergePV(java.util.List<ParamValue> pv1,
java.util.List<ParamValue> pv2)
Merge pv. |
java.lang.String |
modelClassNameFromFile()
Model class name from file. |
java.util.List<ParamValue> |
pvsFromFile()
Pvs from file. |
java.lang.String |
titleFromFile()
Title from file. |
java.lang.String |
valueForParam(java.util.List<ParamValue> pvs,
java.lang.String paramName)
Value for param. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterReader(org.eclipse.core.resources.IResource resource)
resource
- the resourcepublic ParameterReader(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IPath paramPath)
project
- the projectparamPath
- the param pathpublic ParameterReader(java.lang.String projectName, java.lang.String path)
projectName
- the project namepath
- the pathMethod Detail |
---|
public static int matchingFirstSegments(org.eclipse.core.runtime.IPath target, org.eclipse.core.runtime.IPath anotherPath)
target
- the targetanotherPath
- the another path
public static org.eclipse.core.runtime.IPath makeRelativeTo(org.eclipse.core.runtime.IPath target, org.eclipse.core.runtime.IPath base)
target
- the targetbase
- the base
public ParameterReader getRelative(org.eclipse.core.runtime.IPath newPath)
newPath
- the new path
public org.eclipse.core.runtime.IPath getIncorporated(org.eclipse.core.runtime.IPath filePath)
filePath
- the file path
public ParameterReader getTested()
public java.util.List<ParamValue> pvsFromFile()
public java.util.List<ExpectedValue> getConstraints()
public static java.lang.String[] argsFromPV(java.util.List<ParamValue> pvArgs)
pvArgs
- the pv args
public static java.util.List<ParamValue> mergePV(java.util.List<ParamValue> pv1, java.util.List<ParamValue> pv2)
pv1
- the pv1pv2
- the pv2
public java.lang.String modelClassNameFromFile()
public java.lang.String titleFromFile()
public java.lang.String valueForParam(java.util.List<ParamValue> pvs, java.lang.String paramName)
pvs
- the pvsparamName
- the param name
public java.lang.String getName()
public org.eclipse.core.resources.IProject getProject()
public org.eclipse.core.runtime.IPath getParamPath()
public org.eclipse.core.resources.IFile getFile()
public java.lang.String getProjectName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |