au.edu.jcu.hermes.plugin.icat
Interface IICATView

All Known Implementing Classes:
ICATView

public interface IICATView


Method Summary
 void addMetaDataChangedListener(java.awt.event.ActionListener listener)
          Add a listener for when meta data gets changed.
 void addNewItemListener(java.awt.event.ActionListener listener)
          Add a listener for when the user wants to add a new item.
 void addRemoveItemListener(java.awt.event.ActionListener listener)
          Add a listener for when the user wants to delete an item.
 void addSelectionChangedListener(java.awt.event.ActionListener listener)
          Add a listener for when the user selects a different item.
 void addUrl(IICATConnector connector)
          Set the URL that is connected to.
 void addUrlChangedListener(java.awt.event.ActionListener listener)
          Add a listener for when the user changes the url they are connected to.
 void addUrlRemovedListener(java.awt.event.ActionListener listener)
          Add a listener for when the user removes a url they are connected to.
 DataFile getDataFile()
          Get the changes made to the selected data file.
 DataFileParameter getDataFileParameter()
          get the changes made to the selected data file parameter.
 DataSet getDataSet()
          Get all changes made to the selected data set.
 DataSetParameter getDataSetParameter()
          Get the changes made to the selected data set parameter.
 Investigation getInvestigation()
          Get all changes made to the selected Investigation.
 int getNewNodeType()
          Get the type of node to create.
 long getNodeId()
          Get the ID of the currently selected node.
 IICATConnector getRemovedUrl()
          Get the connector that was removed from the list.
 Sample getSample()
          Get all changes made to the selected Sample.
 SampleParameter getSampleParameter()
          Get the changes made to the selected sample parameter.
 Study getStudy()
          Get all changes made to the selected Study.
 int getTypeSelected()
          Get the type of the currently selected node.
 IICATConnector getUrl()
          return the entered URL to connect to.
 void setDataFile(DataFile dataFile)
          Set the current meta data table to view a data file.
 void setDataFileFormats(java.util.List<DataFileFormat> formats)
          Set the list of possible Data File Formats.
 void setDataFileHeadingTable(java.util.List<DataFile> dataFiles)
          Set up the meta data table to view the list of data files for the data set.
 void setDataFileParameter(DataFileParameter parameter)
          Set the current meta data table to view a data file parameter.
 void setDataFileParameterHeadingTable(java.util.List<DataFileParameter> parameters)
          Set up the meta data table to view the list of data file parameters for the data file.
 void setDataSet(DataSet dataSet)
          Set the current meta data table to view a data set.
 void setDataSetHeadingTable(java.util.List<DataSet> dataSets)
          Set up the meta data table to view the list of data sets for the investigation.
 void setDataSetParameter(DataSetParameter parameter)
          Set the current meta data table to view a data set parameter.
 void setDataSetParameterHeadingTable(java.util.List<DataSetParameter> parameters)
          Set up the meta data table to view the list of data set parameters for the data set.
 void setDataSetStatus(java.util.List<DataSetStatus> statusList)
          Set the list of possible Data Set Status'.
 void setDataSetTypes(java.util.List<DataSetType> types)
          Set the list of possible Data Set Types.
 void setInstrumentList(java.util.List<Instrument> instruments)
          Set the list of possible instruments.
 void setInvestigation(Investigation investigation)
          Set the current meta data table to view an Investigation.
 void setInvestigationTypes(java.util.List<InvestigationType> types)
          Set the list of possible investigation Types.
 void setMessage(java.lang.String message)
          give the user a message.
 void setReadOnly(boolean readonly)
          Set whether the interface should be readonly or not.
 void setSample(Sample sample)
          Set the current meta data table to view a sample.
 void setSampleHeadingTable(java.util.List<Sample> samples)
          Set up the meta data table to view the list of samples for the investigation.
 void setSampleParameter(SampleParameter parameter)
          Set the current meta data table to view a sample parameter.
 void setSampleParameterHeadingTable(java.util.List<SampleParameter> parameters)
          Set up the meta data table to view the list of sample parameters for the sample.
 void setStudy(Study study)
          Set the current meta data table to view a study.
 void setStudyStatus(java.util.List<StudyStatus> studyStatus)
          Set the list of possible study status'.
 void setTree(javax.swing.tree.DefaultMutableTreeNode tree)
          Set the data for the tree view.
 

Method Detail

setReadOnly

void setReadOnly(boolean readonly)
Set whether the interface should be readonly or not.

Parameters:
readonly - - boolean

setMessage

void setMessage(java.lang.String message)
give the user a message.

Parameters:
message - - String

getUrl

IICATConnector getUrl()
return the entered URL to connect to.

Returns:
- IICATConnector

addUrl

void addUrl(IICATConnector connector)
Set the URL that is connected to.

Parameters:
connector - - IICATConnector

getRemovedUrl

IICATConnector getRemovedUrl()
Get the connector that was removed from the list.

Returns:
- IICATConnector

addMetaDataChangedListener

void addMetaDataChangedListener(java.awt.event.ActionListener listener)
Add a listener for when meta data gets changed.

Parameters:
listener - - ActionListener

addSelectionChangedListener

void addSelectionChangedListener(java.awt.event.ActionListener listener)
Add a listener for when the user selects a different item.

Parameters:
listener - - ActionListener

addNewItemListener

void addNewItemListener(java.awt.event.ActionListener listener)
Add a listener for when the user wants to add a new item.

Parameters:
listener - - ActionListener

addRemoveItemListener

void addRemoveItemListener(java.awt.event.ActionListener listener)
Add a listener for when the user wants to delete an item.

Parameters:
listener - - ActionListener

addUrlChangedListener

void addUrlChangedListener(java.awt.event.ActionListener listener)
Add a listener for when the user changes the url they are connected to.

Parameters:
listener - - ActionListener

addUrlRemovedListener

void addUrlRemovedListener(java.awt.event.ActionListener listener)
Add a listener for when the user removes a url they are connected to.

Parameters:
listener - - ActionListener

getNodeId

long getNodeId()
Get the ID of the currently selected node.

Returns:
- long

getTypeSelected

int getTypeSelected()
Get the type of the currently selected node.

Returns:
- int

getNewNodeType

int getNewNodeType()
Get the type of node to create.

Returns:
- int

getStudy

Study getStudy()
Get all changes made to the selected Study.

Returns:
- Study

setStudy

void setStudy(Study study)
Set the current meta data table to view a study.

Parameters:
study - - Study

setStudyStatus

void setStudyStatus(java.util.List<StudyStatus> studyStatus)
Set the list of possible study status'.

Parameters:
studyStatus - - List of StudyStatus

getInvestigation

Investigation getInvestigation()
Get all changes made to the selected Investigation.

Returns:
- Investigation

setInvestigation

void setInvestigation(Investigation investigation)
Set the current meta data table to view an Investigation.

Parameters:
investigation - - Investigation

setInstrumentList

void setInstrumentList(java.util.List<Instrument> instruments)
Set the list of possible instruments.

Parameters:
instruments - - List of Instrument

setInvestigationTypes

void setInvestigationTypes(java.util.List<InvestigationType> types)
Set the list of possible investigation Types.

Parameters:
types - - List of InvestigationType

getSample

Sample getSample()
Get all changes made to the selected Sample.

Returns:
- Sample

setSample

void setSample(Sample sample)
Set the current meta data table to view a sample.

Parameters:
sample - - Sample

getDataSet

DataSet getDataSet()
Get all changes made to the selected data set.

Returns:
- DataSet

setDataSet

void setDataSet(DataSet dataSet)
Set the current meta data table to view a data set.

Parameters:
dataSet - - DataSet

setDataSetTypes

void setDataSetTypes(java.util.List<DataSetType> types)
Set the list of possible Data Set Types.

Parameters:
types - - List of DataSetType

setDataSetStatus

void setDataSetStatus(java.util.List<DataSetStatus> statusList)
Set the list of possible Data Set Status'.

Parameters:
statusList - - List of DataSetStatus

setDataFile

void setDataFile(DataFile dataFile)
Set the current meta data table to view a data file.

Parameters:
dataFile - - DataFile

getDataFile

DataFile getDataFile()
Get the changes made to the selected data file.

Returns:
- DataFile

setDataFileFormats

void setDataFileFormats(java.util.List<DataFileFormat> formats)
Set the list of possible Data File Formats.

Parameters:
formats - - List of DataFileFormat

setDataFileParameter

void setDataFileParameter(DataFileParameter parameter)
Set the current meta data table to view a data file parameter.

Parameters:
parameter - - DataFileParameter

getDataFileParameter

DataFileParameter getDataFileParameter()
get the changes made to the selected data file parameter.

Returns:
- DataFileParameter

setDataSetParameter

void setDataSetParameter(DataSetParameter parameter)
Set the current meta data table to view a data set parameter.

Parameters:
parameter - - DataSetParameter

getDataSetParameter

DataSetParameter getDataSetParameter()
Get the changes made to the selected data set parameter.

Returns:
- DataSetParameter

setSampleParameter

void setSampleParameter(SampleParameter parameter)
Set the current meta data table to view a sample parameter.

Parameters:
parameter - - SampleParameter

getSampleParameter

SampleParameter getSampleParameter()
Get the changes made to the selected sample parameter.

Returns:
- SampleParameter

setSampleHeadingTable

void setSampleHeadingTable(java.util.List<Sample> samples)
Set up the meta data table to view the list of samples for the investigation.

Parameters:
samples - - List of Sample

setDataSetHeadingTable

void setDataSetHeadingTable(java.util.List<DataSet> dataSets)
Set up the meta data table to view the list of data sets for the investigation.

Parameters:
dataSets - - List of DataSet

setDataFileHeadingTable

void setDataFileHeadingTable(java.util.List<DataFile> dataFiles)
Set up the meta data table to view the list of data files for the data set.

Parameters:
dataFiles - - List of DataFile

setSampleParameterHeadingTable

void setSampleParameterHeadingTable(java.util.List<SampleParameter> parameters)
Set up the meta data table to view the list of sample parameters for the sample.

Parameters:
parameters - - List of SampleParameter

setDataSetParameterHeadingTable

void setDataSetParameterHeadingTable(java.util.List<DataSetParameter> parameters)
Set up the meta data table to view the list of data set parameters for the data set.

Parameters:
parameters - - List of DataSetParameter

setDataFileParameterHeadingTable

void setDataFileParameterHeadingTable(java.util.List<DataFileParameter> parameters)
Set up the meta data table to view the list of data file parameters for the data file.

Parameters:
parameters - - List of DataFileParameter

setTree

void setTree(javax.swing.tree.DefaultMutableTreeNode tree)
Set the data for the tree view.

Parameters:
tree - - DefaultMutableTreeNode