Package simtools.shapes.ui

Examples of simtools.shapes.ui.AbstractShapePropertiesDialogBox


                   
                    ArrayList shapes = new ArrayList();
                   
                    shapes.add(HistoryTextShape.this);
                   
                    AbstractShapePropertiesDialogBox optionDialog = new AbstractShapePropertiesDialogBox(JSynoptic.gui
                            .getOwner(), panel, panel.getShapeName() + resources.getString("propertiesTitle"),
                            shapes, JSynoptic.gui.getActiveComponent());

                    if (oldLocation != null) {
                        optionDialog.setLocation(oldLocation);
                    }
                    currentDialogBox = optionDialog;
                    // Show dialog box
                    optionDialog.setVisible(true);
                }
            }.start();
            return true;
        }
        return false;
View Full Code Here


                        currentDialogBox.dispose();
                    }
                    ArrayList shapes = new ArrayList();
                    shapes.add(TextArrayShape.this);
                   
                    AbstractShapePropertiesDialogBox optionDialog = new AbstractShapePropertiesDialogBox(JSynoptic.gui
                            .getOwner(), panel, panel.getShapeName() + resources.getString("propertiesTitle"),
                            shapes , JSynoptic.gui.getActiveComponent());
                    if (oldLocation != null) {
                        optionDialog.setLocation(oldLocation);
                    }
                    currentDialogBox = optionDialog;
                    // Show dialog box
                    optionDialog.setVisible(true);
                }
            }.start();
            return true;
        }
       
View Full Code Here

                        oldLocation = currentDialogBox.getBounds().getLocation();
                        currentDialogBox.dispose();
                    }

                    // Create properties dialog
                    AbstractShapePropertiesDialogBox optionDialog = new AbstractShapePropertiesDialogBox(
                            JSynoptic.gui.getOwner(),
                            panel,
                            panel.getShapeName() + resources.getString("propertiesTitle"),
                            shapes,
                            JSynoptic.gui.getActiveComponent()
                            );
                   
                   
                    if (oldLocation != null) {
                        optionDialog.setLocation(oldLocation);
                    }
                    currentDialogBox = optionDialog;
                   
                    // Show dialog box
                    optionDialog.setVisible(true);
              
                } else {
                    JSynoptic.gui.setStatus(resources.getString("noProperties"));
                }
            
View Full Code Here

TOP

Related Classes of simtools.shapes.ui.AbstractShapePropertiesDialogBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.