Dresden OCL Toolkit

tudresden.ocl.sql.gui
Class ChoiceTab.AttributeViewer

java.lang.Object
  extended bytudresden.ocl.sql.gui.ChoiceTab.AttributeViewer
All Implemented Interfaces:
EventListener, ListSelectionListener
Enclosing class:
ChoiceTab

private class ChoiceTab.AttributeViewer
extends Object
implements ListSelectionListener

basically a ClassViewer for undefined attribute types, marks the selected attribute in ClassView


Field Summary
private  Vector attributes
           
private  JList list
           
private  JPanel panel
           
 
Constructor Summary
ChoiceTab.AttributeViewer(JPanel panel, JList list, Vector attributes)
           
 
Method Summary
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

private JPanel panel

list

private JList list

attributes

private Vector attributes
Constructor Detail

ChoiceTab.AttributeViewer

public ChoiceTab.AttributeViewer(JPanel panel,
                                 JList list,
                                 Vector attributes)
Parameters:
panel - the JPanel for display
list - the List to get selected attributes from
attributes - Vector of MAttribute corresponding to list
Method Detail

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.