rb api

com.raghuraman.rb.eclipse.wizards
Class RBNewWizardPageEntries_4

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended bycom.raghuraman.rb.eclipse.wizards.RBNewWizardPageEntries_4
All Implemented Interfaces:
com.raghuraman.eclipse.tools.editors.mpe.GuiHolder, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class RBNewWizardPageEntries_4
extends org.eclipse.jface.wizard.WizardPage
implements com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

The "New" wizard page allows setting the wizardContainer for the new file as well as the file name. The page will only accept file name without the extension OR with the extension that matches the expected one (rb).

Author:
R.Raghuraman

Field Summary
 EntriesControlController_4 controller
           
private static java.util.logging.Logger logger
           
private  org.eclipse.jface.viewers.ISelection selection
           
private static boolean shouldLog
           
 
Fields inherited from class org.eclipse.jface.wizard.WizardPage
 
Fields inherited from class org.eclipse.jface.dialogs.DialogPage
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
RBNewWizardPageEntries_4(org.eclipse.jface.viewers.ISelection selection)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 boolean getDirty()
           
private static void log(java.util.logging.Level l, java.lang.String message)
           
 void setDirty(boolean dirty)
           
 void setErrorDisabled(boolean disable)
           
 void setFatalError(java.lang.String error)
           
 void updateStatus(java.lang.String message)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, 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
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

shouldLog

private static final boolean shouldLog

logger

private static final java.util.logging.Logger logger

selection

private org.eclipse.jface.viewers.ISelection selection

controller

public EntriesControlController_4 controller
Constructor Detail

RBNewWizardPageEntries_4

public RBNewWizardPageEntries_4(org.eclipse.jface.viewers.ISelection selection)
Method Detail

log

private static final void log(java.util.logging.Level l,
                              java.lang.String message)

createControl

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

updateStatus

public void updateStatus(java.lang.String message)
Specified by:
updateStatus in interface com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage

setDirty

public void setDirty(boolean dirty)
Specified by:
setDirty in interface com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

getDirty

public boolean getDirty()
Specified by:
getDirty in interface com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

setErrorDisabled

public void setErrorDisabled(boolean disable)
Specified by:
setErrorDisabled in interface com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

setFatalError

public void setFatalError(java.lang.String error)
Specified by:
setFatalError in interface com.raghuraman.eclipse.tools.editors.mpe.GuiHolder

jxpress

Copyright © 2004 R.Raghuraman. Distributable under LGPL license.