Changeset 531 for trunk/loci/visbio/view


Ignore:
Timestamp:
10/12/05 19:26:45 (15 years ago)
Author:
curtis
Message:

Initial implementation of streamlined VisBio interface with dedicated
background tasks panel for reporting status of multiple simultaneous tasks.

Location:
trunk/loci/visbio/view
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/DisplayControls.java

    r503 r531  
    7070  public DisplayControls(LogicManager logic) { 
    7171    super(logic, "Displays", "Controls for managing displays"); 
    72     controls.setLayout(new BoxLayout(controls, BoxLayout.Y_AXIS)); 
    7372 
    7473    // list of displays 
    7574    listModel = new DefaultListModel(); 
    7675    displayList = new JList(listModel); 
    77     displayList.setFixedCellWidth(120); 
     76    displayList.setFixedCellWidth(250); 
    7877    displayList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 
    7978    displayList.addListSelectionListener(this); 
     
    131130    // lay out components 
    132131    PanelBuilder builder = new PanelBuilder(new FormLayout( 
    133       "default:grow, 3dlu, pref", 
    134       "fill:pref:grow")); 
    135     builder.setDefaultDialogBorder(); 
     132      "default, 3dlu, pref", "fill:pref:grow")); 
    136133    CellConstraints cc = new CellConstraints(); 
    137134    builder.add(listPane, cc.xy(1, 1)); 
    138135    builder.add(buttons, cc.xy(3, 1)); 
    139     controls.add(builder.getPanel()); 
     136    add(builder.getPanel()); 
    140137  } 
    141138 
  • trunk/loci/visbio/view/DisplayManager.java

    r493 r531  
    214214    displayControls = new DisplayControls(this); 
    215215    PanelManager pm = (PanelManager) bio.getManager(PanelManager.class); 
    216     pm.addPanel(displayControls); 
     216    pm.addPanel(displayControls, 1, 0, 1, 1, "350", null); 
    217217 
    218218    // options 
Note: See TracChangeset for help on using the changeset viewer.