Author: rob.stryker(a)jboss.com
Date: 2010-12-14 09:30:34 -0500 (Tue, 14 Dec 2010)
New Revision: 27446
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
Log:
JBIDE-7788 - filesets ui change
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2010-12-14
14:09:32 UTC (rev 27445)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/pages/FilesetInfoWizardPage.java 2010-12-14
14:30:34 UTC (rev 27446)
@@ -94,7 +94,7 @@
}
public void createControl (Composite parent) {
- mainComposite = new Composite(parent, SWT.NONE);
+ mainComposite = new Composite(parent, SWT.BORDER);
mainComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
mainComposite.setLayout(new FormLayout());
@@ -104,18 +104,20 @@
restrainerData.left = new FormAttachment(0,5);
restrainerData.top = new FormAttachment(0,5);
restrainerData.bottom = new FormAttachment(100,-5);
- restrainerData.right = new FormAttachment(0,600);
+ restrainerData.right = new FormAttachment(100,-5);
restrainer.setLayoutData(restrainerData);
Group info = createInfoGroup(restrainer);
createPreviewGroup(restrainer, info);
- mainComposite.layout();
- fillDefaults();
- addListeners();
- changePreview();
-
- includesText.setFocus();
-
+ //mainComposite.layout();
+ Display.getDefault().asyncExec(new Runnable(){
+ public void run() {
+ fillDefaults();
+ addListeners();
+ changePreview();
+ includesText.setFocus();
+ }
+ });
setControl(mainComposite);
}
@@ -211,9 +213,9 @@
excludesText = new Text(infoGroup, SWT.BORDER);
excludesImage.setLayoutData(createFormData(0,0,null,0,0,0,null,0));
excludesTextLabel.setLayoutData(createFormData(0,0,null,0,excludesImage,5,null,0));
-
excludesKey.setLayoutData(createFormData(includesText,5,null,0,null,5,0,100));
excludesText.setLayoutData(createFormData(includesText,5,100,-5,excludesKey,10,100,-5));
+
// customize widgets
destinationKey.setText(ArchivesUIMessages.FilesetInfoWizardPage_destination_label);