Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Composite.layout()


                {
                    int count = Integer.parseInt(addMoreButton.getData("rowCount").toString());
                    createARowForCreatingHeadersBinding(composite, ++count);
                    addMoreButton.setData("rowCount", count);
                    scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
                    composite.layout();
                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
View Full Code Here


                    _form.layout();
                }
            });
         
        scrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
        composite.layout();
    }
   
    /**
     * Adds a row for adding a binding for Headers Exchange. Used by the method, which creates the customized
     * layout and widgest for Header's exchange method createNewBinding.
View Full Code Here

            neuralNetCompositeLData.grabExcessHorizontalSpace = true;
            neuralNetCompositeLData.grabExcessVerticalSpace = false;
            GridLayout neuralNetCompositeLayout = new GridLayout();
            neuralNetComposite.setLayout(neuralNetCompositeLayout);
            neuralNetComposite.setLayoutData(neuralNetCompositeLData);
            neuralNetComposite.layout(true);
          }
         
        }
        commChannel = new CTabItem(tabs,SWT.NONE);
        commChannel.setText("Canal de Comunicaciones");
View Full Code Here

            ccCompositeLData.grabExcessHorizontalSpace = true;
            ccCompositeLData.grabExcessVerticalSpace = false;
            GridLayout ccCompositeLayout = new GridLayout();
            ccComposite.setLayout(ccCompositeLayout);
            ccComposite.setLayoutData(ccCompositeLData);
            ccComposite.layout(true);
          }
        }
        {
          robot = new CTabItem(tabs, SWT.NONE);
          robot.setText("Robot");
View Full Code Here

              configPannelNeuralNetLData.grabExcessHorizontalSpace = true;
              configPannelNeuralNetLData.grabExcessVerticalSpace = true;
              configPannelNeuralNet.setLayoutData(configPannelNeuralNetLData);
             
              cTabNeuralNetwork.setControl(configPannelNeuralNet);
              configPannelNeuralNet.layout(true);
             
            }
            configElements.add(neuralNetworkGUI);           
           
          }
View Full Code Here

              configPannelcommChannelLData.grabExcessHorizontalSpace = true;
              configPannelcommChannelLData.grabExcessVerticalSpace = true;
              configPannelcommChannel.setLayoutData(configPannelcommChannelLData);
             
              cTabCommChannel.setControl(configPannelcommChannel);
              configPannelcommChannel.layout(true);
            }
            configElements.add(communicationChannelGUI);
           
          }
        }
View Full Code Here

      layout.setAlertControl(notificationControl);
      parent.setLayout(layout);
     
      //GridLayoutFactory.fillDefaults().numColumns(1).applyTo(parent);
     
      parent.layout();
    } else {
      NotificationLayout layout = (NotificationLayout)parent.getLayout();
     
      layout.getAlertControl().dispose();
      layout.setAlertControl(null);
View Full Code Here

      NotificationLayout layout = (NotificationLayout)parent.getLayout();
     
      layout.getAlertControl().dispose();
      layout.setAlertControl(null);
     
      parent.layout();
     
      parent.setLayout(null);
    }
   
    return null;
View Full Code Here

        Point shellSize = shell.getSize();
        Composite composite = (Composite) getDialogArea();
        if (viewer != null) {
            viewer.getControl().dispose();
            viewer = null;
            composite.layout();
            shell.setSize(shellSize.x, shellSize.y - viewerHeight);
            detailsButton.setText(ProgressMessages.ProgressMonitorJobsDialog_DetailsTitle);
        } else {
            //Abort if there are no jobs visible
            if (ProgressManager.getInstance().getRootElements(Policy.DEBUG_SHOW_ALL_JOBS).length == 0) {
View Full Code Here

      debugTimer.schedule(new MyDebugRepaintTask(this), curDelay, curDelay);

      ContainerWrapper pCW = parentW.getParent();
      Composite parent = pCW != null ? (Composite) pCW.getComponent() : null;
      if (parent != null)
        parent.layout();

    } else if (!b && debugTimer != null) {
      debugTimer.cancel();
      debugTimer = null;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.