|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
wt.clients.widgets.BaseCreator
wt.clients.csm.classification.ClassificationStructureCreator
Classification Structure Creator creates Classification Structures
Nested Class Summary | |
(package private) class |
ClassificationStructureCreator.ActionLis
|
Nested classes inherited from class wt.clients.widgets.BaseCreator |
|
Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private String |
buttonName
String which holds the button name got from resource bundle |
private JTextField |
classattrvalue
textfield which is populated with reference attribute that references the classification node |
private JComboBox |
classbox
combobox to hold all IBAHolders that dont already have classification structure |
private static String |
CLASSIFICATION_RESOURCE
points to ClassificationRB |
(package private) Vector |
classStructNames
vector of all classification Structures |
private ResourceBundle |
csResource
handle to ResourceBundle |
(package private) AttributeDefDefaultView |
currentAttribute
stores the currentAttribute selected by the AttributeSelector |
private static boolean |
debug
|
(package private) IBADefinitionService |
iServiceObject
handle to IBADefinitionService to call AttributeDefinition services |
private JLabel |
lclass
Class label |
private JLabel |
lclassattr
Classification Attribute label |
private JPanel |
mainPanel
handle to mainPanel |
private JButton |
select
select button which bring up the Attribute definition Selector |
(package private) ClassificationService |
serviceObject
handle to classification service to call ClassificationService |
private Collator |
sortCollator
|
Fields inherited from class wt.clients.widgets.BaseCreator |
baseCreatorTitle, caller, CANCEL, CANCEL_BUTTON, CANCEL_OPTION, cancelButton, confirmExitMsg, createdObject, errorDialogTitle, isChanged, OK, OK_BUTTON, OK_OPTION, okButton, resource, warningDialogTitle, width |
Fields inherited from class javax.swing.JDialog |
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ClassificationStructureCreator(Component component)
Classification Structure Creator constructor calls the super sets the title initializes Data adds the components |
Method Summary | |
private void |
addMainPanel()
addMainPanel creates the Classification Structure Panel(createCSPanel) and adds it to the dialog |
private void |
buttonClick()
|
private void |
callSelectAction()
This method is called when the select button is clicked It launches the Atribute Definition Selector. |
boolean |
checkClassReference(ReferenceDefView defView)
Returns a new vector by filtering out all classification structures from the vector passed to it. |
Vector |
checkForClassStructures(Vector v)
Returns a new vector by filtering out all classification structures from the vector passed to it. |
private JPanel |
createCSPanel()
createCSPanel |
boolean |
createMethod()
This method is called when OK button is clicked |
private void |
displayExceptionMessage(String key,
Object[] params)
Display the exception messages with the key plus the parameters. |
private AttributeDefDefaultView |
getDefaultViewObject(Object obj)
This method is called to get AttributeDefDefaultView from AttributeDefNodeView |
protected void |
initializeData()
initialize Data initializes classStructNames with all Classification Structure names. |
protected void |
initResource()
overrides initResource |
private JComboBox |
populateClassBox()
return a JComboBox populated with IBAHolder classes |
private void |
setClassAttrValue()
sets the class attribute definition text field to current Attribute selection |
private void |
setFlag(boolean flag)
set the dirty flag |
Methods inherited from class wt.clients.widgets.BaseCreator |
cancelMethod, disableButton, enableButton, isBusy, placeInCenter, setBusy, setComponents, showAsModalCreatorDialog |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static String CLASSIFICATION_RESOURCE
private static final boolean debug
private ResourceBundle csResource
private JPanel mainPanel
private Collator sortCollator
private JLabel lclass
private JLabel lclassattr
private JComboBox classbox
private JTextField classattrvalue
private JButton select
private String buttonName
ClassificationService serviceObject
IBADefinitionService iServiceObject
AttributeDefDefaultView currentAttribute
Vector classStructNames
Constructor Detail |
public ClassificationStructureCreator(Component component)
Method Detail |
protected void initResource()
initResource
in class BaseCreator
protected void initializeData()
private void addMainPanel()
private JPanel createCSPanel()
private JComboBox populateClassBox()
public Vector checkForClassStructures(Vector v)
public boolean checkClassReference(ReferenceDefView defView)
private void setFlag(boolean flag)
public boolean createMethod()
createMethod
in class BaseCreator
private void buttonClick()
private void callSelectAction()
private AttributeDefDefaultView getDefaultViewObject(Object obj)
private void setClassAttrValue()
private void displayExceptionMessage(String key, Object[] params)
key
- Key to find the string from the resource bundleparams
- Parameters passed to the value from the resource bundle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |