|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
edu.wpi.ebob.wizards.AddToObjectBenchWizardPageExtension
public class AddToObjectBenchWizardPageExtension
Takes care of setting the constructor and the constructor arguments.
Field Summary | |
---|---|
private org.eclipse.jface.viewers.ComboViewer |
constructorViewer
|
private org.eclipse.swt.widgets.Table |
table
|
private org.eclipse.jface.viewers.TableViewer |
tableViewer
|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
AddToObjectBenchWizardPageExtension()
Constructor for SampleNewWizardPage. |
Method Summary | |
---|---|
private void |
createConstructorCombo(org.eclipse.swt.widgets.Composite parent)
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
private void |
createTable(org.eclipse.swt.widgets.Composite parent)
Create the Table |
private void |
createTableViewer()
Create the TableViewer |
private void |
dialogChanged()
Ensures that both text fields are set. |
private Parameter[] |
getArgs(IClass[] classes)
turns an array of classes into an array of argument pairs |
IObject[] |
getArguments()
|
IConstructor |
getConstructor()
|
(package private) void |
setInstanceClass(IClass c)
sets the instance class (which in turn determines which constructors will be visible). |
private 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, 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 |
Field Detail |
---|
private org.eclipse.jface.viewers.ComboViewer constructorViewer
private org.eclipse.swt.widgets.Table table
private org.eclipse.jface.viewers.TableViewer tableViewer
Constructor Detail |
---|
public AddToObjectBenchWizardPageExtension()
Method Detail |
---|
private void createConstructorCombo(org.eclipse.swt.widgets.Composite parent)
parent
- public void createControl(org.eclipse.swt.widgets.Composite parent)
IDialogPage.createControl(Composite)
private void createTable(org.eclipse.swt.widgets.Composite parent)
private void createTableViewer()
private void dialogChanged()
private Parameter[] getArgs(IClass[] classes)
classes
- the parameter types of a constructor
Parameter
public IObject[] getArguments() throws ParserException, java.lang.ClassCastException
ParserException
java.lang.ClassCastException
public IConstructor getConstructor()
void setInstanceClass(IClass c)
c
- private void updateStatus(java.lang.String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |