~ubuntu-branches/debian/sid/swt-gtk/sid

« back to all changes in this revision

Viewing changes to org/eclipse/swt/custom/SashFormLayout.java

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Perez
  • Date: 2009-12-07 10:22:24 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207102224-70w2tax575mcks1w
Tags: 3.5.1-1
* New upstream release. Closes: #558663.
* debian/control: 
  - Add Vcs-* fields for Git repository.
  - Allow DM-Uploads.
  - Remove "Conflicts", package should live with eclipse.
* debian/rules: Fix default-java path around AWT_LIB_PATH.
* debian/copyright: Minor update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*******************************************************************************
2
 
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
3
3
 * All rights reserved. This program and the accompanying materials
4
4
 * are made available under the terms of the Eclipse Public License v1.0
5
5
 * which accompanies this distribution, and is available at
112
112
                Sash[] newSashes = new Sash[controls.length - 1];
113
113
                System.arraycopy(sashForm.sashes, 0, newSashes, 0, sashForm.sashes.length);
114
114
                for (int i = sashForm.sashes.length; i < newSashes.length; i++) {
115
 
                        newSashes[i] = new Sash(sashForm, sashForm.sashStyle);
116
 
                        newSashes[i].setBackground(sashForm.background);
117
 
                        newSashes[i].setForeground(sashForm.foreground);
118
 
                        newSashes[i].addListener(SWT.Selection, sashForm.sashListener);
 
115
                        newSashes[i] = sashForm.createSash();
119
116
                }
120
117
                sashForm.sashes = newSashes;
121
118
        }