Guest User

Untitled

a guest
Jan 18th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. if(! child.isDisposed()){
  2. child.dispose();
  3. }
  4. paramComposite.layout(true, true);
  5.  
  6. if(child.getLayoutData() instanceof GridData){
  7. ((GridData)child.getLayoutData() ).exclude = true;
  8. }
  9. paramComposite.layout(true, true);
  10.  
  11. Composite newChild = new Composite(paramComposite , SWT.NON)
  12. paramComposite.layout(true, true);
  13.  
  14. existingControl.setParent(paramComposite );
  15. existingControl.setLayoutData(existingControlLayoutData);
  16. paramComposite.layout(true, true);
Add Comment
Please, Sign In to add comment