TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.dde.dialogs.internal
Class MrtFileDialog

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.dde.dialogs.internal.MrtFileDialog

public class MrtFileDialog
extends java.lang.Object

This class forms the UI component for adding a ResourceType.


Constructor Summary
MrtFileDialog(java.util.List mrtFiles, DescriptorEditor editor)
          This takes a list fo mrt files available in the workspace and a DescriptorEditor object
 
Method Summary
 org.eclipse.swt.widgets.Button getBtnCancel()
           
 org.eclipse.swt.widgets.Button getBtnOk()
           
 DescriptorEditor getEditor()
           
 java.util.List getFileList()
           
 org.eclipse.swt.widgets.List getLstMrtFiles()
           
 org.eclipse.swt.widgets.Composite getMainPanel()
           
 org.eclipse.swt.widgets.Shell getParent()
           
 org.eclipse.jface.viewers.CheckboxTreeViewer getViewer()
           
 org.eclipse.swt.widgets.Tree getViewerTree()
           
 java.lang.Object showDialog()
          Method that opens and displays the dialog on the screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MrtFileDialog

public MrtFileDialog(java.util.List mrtFiles,
                     DescriptorEditor editor)
This takes a list fo mrt files available in the workspace and a DescriptorEditor object

Parameters:
mrtFiles - - java.util.List
editor - - DescriptorEditor object
Method Detail

showDialog

public java.lang.Object showDialog()
Method that opens and displays the dialog on the screen.

Returns:
the IFile object after the Ok button is clicked.
null if the operation is cancelled.

getBtnCancel

public org.eclipse.swt.widgets.Button getBtnCancel()

getBtnOk

public org.eclipse.swt.widgets.Button getBtnOk()

getEditor

public DescriptorEditor getEditor()

getLstMrtFiles

public org.eclipse.swt.widgets.List getLstMrtFiles()

getFileList

public java.util.List getFileList()

getMainPanel

public org.eclipse.swt.widgets.Composite getMainPanel()

getParent

public org.eclipse.swt.widgets.Shell getParent()

getViewerTree

public org.eclipse.swt.widgets.Tree getViewerTree()

getViewer

public org.eclipse.jface.viewers.CheckboxTreeViewer getViewer()

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification