org.gudy.azureus2.ui.swt.maketorrent
Class SavePathPanel

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel<NewTorrentWizard>
      extended by org.gudy.azureus2.ui.swt.maketorrent.SavePathPanel
All Implemented Interfaces:
IWizardPanel<NewTorrentWizard>

public class SavePathPanel
extends AbstractWizardPanel<NewTorrentWizard>

Author:
Olivier

Field Summary
protected  long file_size
           
protected  long piece_count
           
protected  long piece_size
           
 
Fields inherited from class org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
previousPanel, wizard
 
Constructor Summary
SavePathPanel(NewTorrentWizard wizard, AbstractWizardPanel<NewTorrentWizard> _previousPanel)
           
 
Method Summary
 IWizardPanel<NewTorrentWizard> getFinishPanel()
           
 boolean isFinishSelectionOK()
          This method is called when the "finish" button is pressed.
 void show()
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.wizard.AbstractWizardPanel
cancelled, finish, getNextPanel, getPreviousPanel, isFinishEnabled, isNextEnabled, isPreviousEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file_size

protected long file_size

piece_size

protected long piece_size

piece_count

protected long piece_count
Constructor Detail

SavePathPanel

public SavePathPanel(NewTorrentWizard wizard,
                     AbstractWizardPanel<NewTorrentWizard> _previousPanel)
Method Detail

show

public void show()

getFinishPanel

public IWizardPanel<NewTorrentWizard> getFinishPanel()
Specified by:
getFinishPanel in interface IWizardPanel<NewTorrentWizard>
Overrides:
getFinishPanel in class AbstractWizardPanel<NewTorrentWizard>

isFinishSelectionOK

public boolean isFinishSelectionOK()
Description copied from interface: IWizardPanel
This method is called when the "finish" button is pressed. It allows operations to be carried out before the "finish" panel is shown.

Specified by:
isFinishSelectionOK in interface IWizardPanel<NewTorrentWizard>
Overrides:
isFinishSelectionOK in class AbstractWizardPanel<NewTorrentWizard>
Returns:
true - carry on and show the finish panel; false - operation failed, leave on current panel