|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemPromptDialog com.ibm.etools.iseries.edit.wizards.JMCAbstractClassSelectionDialog
public abstract class JMCAbstractClassSelectionDialog
super class of JMC class selection dialogs. This will handle the class loading and error handling.
Field Summary | |
---|---|
protected static int |
LOCAL_DLG
|
protected static int |
PROJECT_DLG
|
protected static int |
REMOTE_DLG
|
Constructor Summary | |
---|---|
JMCAbstractClassSelectionDialog(Shell arg0,
String arg1,
JMCURLClassLoader classLoader)
|
Method Summary | |
---|---|
void |
addFileToTree(File f,
String displayName)
|
void |
addFileToTree(File f,
String displayName,
int levelsToExpand)
Adds file f as child of the treeRoot and the contents of f as children of f. |
protected void |
buttonPressed(int buttonID)
|
protected Control |
createInner(Composite parent)
Adds a new tree to the parent, and sets parent's layout to a new gridlayout. |
abstract void |
generateTreeContents()
subclasses should call getTreeRoot() and add TreeItems to the provided Tree. |
abstract String |
getHelpID()
Returns the msg ID in ISeriesSystemPlugin.plugin to use as f1 help for this page; must NOT return null |
protected Control |
getInitialFocusControl()
|
protected abstract int |
getJMCClassSelDialogType()
Get the dialog type so that we can properly save/load the files/folders added to the tree |
Class |
getSelectedClass()
|
abstract boolean |
isDirty()
flag to see if we need to save |
int |
open()
|
abstract void |
populateWithOtherControls(Composite mainComposite)
Method called after tree is generated so subclasses can add more stuff to mainComposite if they want to |
protected void |
update()
|
void |
widgetDefaultSelected(SelectionEvent arg0)
Listeners |
void |
widgetSelected(SelectionEvent se)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int LOCAL_DLG
protected static final int PROJECT_DLG
protected static final int REMOTE_DLG
Constructor Detail |
---|
public JMCAbstractClassSelectionDialog(Shell arg0, String arg1, JMCURLClassLoader classLoader)
arg0
- arg1
- classLoader
- clas loader to use to load classesMethod Detail |
---|
public abstract void generateTreeContents()
public abstract String getHelpID()
public abstract void populateWithOtherControls(Composite mainComposite)
mainComposite
- public abstract boolean isDirty()
protected abstract int getJMCClassSelDialogType()
public Class getSelectedClass()
protected void buttonPressed(int buttonID)
protected Control createInner(Composite parent)
public int open()
protected Control getInitialFocusControl()
public void addFileToTree(File f, String displayName)
public void addFileToTree(File f, String displayName, int levelsToExpand)
protected void update()
public void widgetDefaultSelected(SelectionEvent arg0)
public void widgetSelected(SelectionEvent se)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |