/** * Create new service properties panel. */ public ProvidedServiceInfoProperties() { super(" Service Properties "); createTextField("Name"); createTextField("Type"); // todo: // createTextField("Implementation"); addFullLineComponent("Methods_label", new JLabel("Methods")); JTable table = SGUI.createReadOnlyTable(); table.setTableHeader(new ResizeableTableHeader(table.getColumnModel())); JPanel scroll = new JPanel(new BorderLayout()); scroll.add(table, BorderLayout.CENTER); scroll.add(table.getTableHeader(), BorderLayout.NORTH); addFullLineComponent("Methods", scroll); }
/** * Create new service properties panel. */ public RequiredServiceProperties() { super(" Service Properties "); createTextField("Name"); createTextField("Type"); createTextField("Multiple"); createTextField("Binding"); addFullLineComponent("Methods_label", new JLabel("Methods")); JTable table = SGUI.createReadOnlyTable(); table.setTableHeader(new ResizeableTableHeader(table.getColumnModel())); JPanel scroll = new JPanel(new BorderLayout()); scroll.add(table, BorderLayout.CENTER); scroll.add(table.getTableHeader(), BorderLayout.NORTH); addFullLineComponent("Methods", scroll); }
/** * Create new component properties panel. */ public ComponentProperties() { super(" Component Properties "); createTextField("Name"); addFullLineComponent("Addresses_label", new JLabel("Addresses")); addFullLineComponent("Addresses", SGUI.createReadOnlyTable()); createTextField("Type"); createTextField("Model name"); createTextField("Creator"); createTextField("Resource Identifier"); createTextField("(global / local)"); createTextField("Ownership"); createTextField("State"); createTextField("Processing state"); createCheckBox("Master"); createCheckBox("Daemon"); createCheckBox("Auto shutdown"); }