Changeset 2543
- Timestamp:
- 10/24/08 17:55:57 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plugins/visualization/edu.iu.nwb.visualization.guess/ALGORITHM/default/scripts/graphModifier.py
r2537 r2543 32 32 33 33 doNotIncludeProperties = ["__edgeid", "image", "node1", "node2"] 34 35 enumeratedStringFieldMaxSize = 2036 34 37 35 # keep track of the changes while using the panel … … 517 515 dockSelf.layoutPanel = JPanel() # top: main controls bottom: hidden controls 518 516 dockSelf.layoutPanel.setLayout(BoxLayout(dockSelf.layoutPanel, BoxLayout.Y_AXIS)) 519 520 517 dockSelf.topPanel = JPanel() # the top panel 521 522 518 macDimH = 40 523 winDimH = 50519 winDimH = 30 524 520 macDimW = 900 525 winDimW = 570521 winDimW = 800 526 522 # Here we assume people are using either mac or windows. 527 523 # If I had a way to test for linux and tweak the sizes I'd do it here. … … 535 531 dockSelf.topPanel.setPreferredSize(Dimension(dimWidth, dimHeight)) 536 532 dockSelf.layoutPanel.add(dockSelf.topPanel) 537 dockSelf.buttonPanel = JPanel( GridLayout(2, 5)) # the panel for the buttons533 dockSelf.buttonPanel = JPanel() # the panel for the buttons 538 534 dockSelf.buttonPanel.setPreferredSize(Dimension(dimWidth, dimHeight)) 539 535 dockSelf.layoutPanel.add(dockSelf.buttonPanel) 540 536 dockSelf.bottomPanel = JPanel() # the bottom panel 541 dockSelf.bottomPanel.setPreferredSize(Dimension( dimWidth, dimHeight))537 dockSelf.bottomPanel.setPreferredSize(Dimension(900, 280)) 542 538 dockSelf.layoutPanel.add(dockSelf.bottomPanel) 539 543 540 544 541 # object box … … 588 585 589 586 # size panel 590 dockSelf.sizePanel = JPanel(GridLayout(20,20)) 587 dockSelf.sizePanel = JPanel(GridLayout(2,4)) 588 dockSelf.sizePanel.setVisible(false) 591 589 592 590 # assuming this is for a node, do edges later … … 651 649 dockSelf.changeHistoryPanel.add(dockSelf.changeHistoryLeftPanel) 652 650 dockSelf.changeHistoryPanel.add(dockSelf.changeHistoryRightPanel) 651 dockSelf.changeHistoryPanel.setVisible(false) 653 652 654 653 # colour button
