net.sf.panoptes.module.jmx.wizard
Class NodeConnectionPage

java.lang.Object
  |
  +--org.eclipse.jface.dialogs.DialogPage
        |
        +--org.eclipse.jface.wizard.WizardPage
              |
              +--net.sf.panoptes.module.jmx.wizard.NodeConnectionPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class NodeConnectionPage
extends org.eclipse.jface.wizard.WizardPage

Class representing the first page of the wizard


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
NodeConnectionPage(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
          Constructor
 
Method Summary
 boolean canFlipToNextPage()
          cant flip to next page since is only one page now.
 boolean connectImmediately()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 java.lang.String getHostName()
           
 java.lang.String getHostUrl()
           
 int getRmiPort()
           
 boolean isPageComplete()
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

NodeConnectionPage

public NodeConnectionPage(org.eclipse.ui.IWorkbench workbench,
                          org.eclipse.jface.viewers.IStructuredSelection selection)
Constructor

Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
Specified by:
createControl in class org.eclipse.jface.dialogs.DialogPage
See Also:
IDialogPage#createControl(Composite)

canFlipToNextPage

public boolean canFlipToNextPage()
cant flip to next page since is only one page now.

Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage
See Also:
IWizardPage#canFlipToNextPage()

isPageComplete

public boolean isPageComplete()
Specified by:
isPageComplete in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
isPageComplete in class org.eclipse.jface.wizard.WizardPage

getHostName

public java.lang.String getHostName()
Returns:
the descriptional name of the server

getHostUrl

public java.lang.String getHostUrl()
Returns:
the server address

getRmiPort

public int getRmiPort()
Returns:
the server port

connectImmediately

public boolean connectImmediately()
Returns:
boolean true if the user has chosen to connect immediately


Copyright © 2003 . All Rights Reserved.