|
From: <caw...@us...> - 2007-04-20 23:54:20
|
Revision: 2355
http://svn.sourceforge.net/rubyeclipse/?rev=2355&view=rev
Author: cawilliams
Date: 2007-04-20 16:54:18 -0700 (Fri, 20 Apr 2007)
Log Message:
-----------
remove unused button
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/RubyProjectWizardFirstPage.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/RubyProjectWizardFirstPage.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/RubyProjectWizardFirstPage.java 2007-04-20 23:27:55 UTC (rev 2354)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/RubyProjectWizardFirstPage.java 2007-04-20 23:54:18 UTC (rev 2355)
@@ -261,7 +261,7 @@
*/
private final class LayoutGroup implements Observer, SelectionListener {
- private final SelectionButtonDialogField fStdRadio, fSrcBinRadio;
+ private final SelectionButtonDialogField fStdRadio;
private final Group fGroup;
private final Link fPreferenceLink;
@@ -276,14 +276,9 @@
fStdRadio= new SelectionButtonDialogField(SWT.RADIO);
fStdRadio.setLabelText(NewWizardMessages.RubyProjectWizardFirstPage_LayoutGroup_option_oneFolder);
- fSrcBinRadio= new SelectionButtonDialogField(SWT.RADIO);
- fSrcBinRadio.setLabelText(NewWizardMessages.RubyProjectWizardFirstPage_LayoutGroup_option_separateFolders);
-
fStdRadio.doFillIntoGrid(fGroup, 3);
LayoutUtil.setHorizontalGrabbing(fStdRadio.getSelectionButton(null));
-
- fSrcBinRadio.doFillIntoGrid(fGroup, 2);
-
+
fPreferenceLink= new Link(fGroup, SWT.NONE);
fPreferenceLink.setText(NewWizardMessages.RubyProjectWizardFirstPage_LayoutGroup_link_description);
fPreferenceLink.setLayoutData(new GridData(GridData.END, GridData.END, false, false));
@@ -291,20 +286,19 @@
// boolean useSrcBin= PreferenceConstants.getPreferenceStore().getBoolean(PreferenceConstants.SRCBIN_FOLDERS_IN_NEWPROJ);
boolean useSrcBin= false;
- fSrcBinRadio.setSelection(useSrcBin);
fStdRadio.setSelection(!useSrcBin);
}
public void update(Observable o, Object arg) {
final boolean detect= fDetectGroup.mustDetect();
fStdRadio.setEnabled(!detect);
- fSrcBinRadio.setEnabled(!detect);
+// fSrcBinRadio.setEnabled(!detect);
fPreferenceLink.setEnabled(!detect);
fGroup.setEnabled(!detect);
}
public boolean isSrcBin() {
- return fSrcBinRadio.isSelected();
+ return false;
}
/* (non-Rubydoc)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|