Class SRSTreeData
java.lang.Object
uk.ac.diamond.scisoft.analysis.rcp.navigator.srs.SRSTreeData
Provides an SRS model of a name,min,max and class set from a *.dat file.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSRSTreeData(String name, String minValue, String maxValue, String classValue, org.eclipse.core.resources.IFile file) Create a property with the given name and value contained by the given file. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the class value of the property in the file.org.eclipse.core.resources.IFilegetFile()The IFile that defines this property.Return the maximum value of the property in the file.Return the minimum value of the property in the file.getName()The name of this property.inthashCode()toString()
-
Field Details
-
data
-
-
Constructor Details
-
SRSTreeData
public SRSTreeData(String name, String minValue, String maxValue, String classValue, org.eclipse.core.resources.IFile file) Create a property with the given name and value contained by the given file.- Parameters:
name- The name of the property.minValue- The minimum value of the property.maxValue- The maximum value of the property.classValue- The class value of the property.file- The file that defines this property.
-
-
Method Details
-
getName
The name of this property.- Returns:
- The name of this property.
-
getMinValue
Return the minimum value of the property in the file.- Returns:
- The minimum value of the property in the file.
-
getMaxValue
Return the maximum value of the property in the file.- Returns:
- The maximum value of the property in the file.
-
getClassValue
Return the class value of the property in the file.- Returns:
- The class value of the property in the file.
-
getFile
public org.eclipse.core.resources.IFile getFile()The IFile that defines this property.- Returns:
- The IFile that defines this property.
-
hashCode
public int hashCode() -
equals
-
toString
-