[jbosstools-commits] JBoss Tools SVN: r30276 - branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Apr 4 12:53:11 EDT 2011
Author: elvisisking
Date: 2011-04-04 12:53:11 -0400 (Mon, 04 Apr 2011)
New Revision: 30276
Modified:
branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
Log:
JBIDE-8242 The preference page that shows the versioning preference now is the only preference page that is shown when opening the preference page from the publishing wizard. This now matches the code in trunk.
Modified: branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
===================================================================
--- branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2011-04-04 16:40:00 UTC (rev 30275)
+++ branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2011-04-04 16:53:11 UTC (rev 30276)
@@ -50,7 +50,6 @@
import org.eclipse.ui.help.IWorkbenchHelpSystem;
import org.jboss.tools.modeshape.rest.Activator;
import org.jboss.tools.modeshape.rest.IServerRegistryListener;
-import org.jboss.tools.modeshape.rest.IUiConstants;
import org.jboss.tools.modeshape.rest.RestClientI18n;
import org.jboss.tools.modeshape.rest.ServerManager;
import org.jboss.tools.modeshape.rest.ServerRegistryEvent;
@@ -534,10 +533,10 @@
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
gd.horizontalSpan = 2;
gd.minimumHeight = this.lstResources.getItemHeight() * 2; // set min
- // height
+ // height
gd.heightHint = this.lstResources.getItemHeight() * 10; // set
- // preferred
- // height
+ // preferred
+ // height
this.lstResources.setLayoutData(gd);
final org.eclipse.swt.widgets.List finalLst = this.lstResources;
@@ -726,8 +725,7 @@
// open preference page and only allow the pref page where the version
// setting is
PreferencesUtil.createPreferenceDialogOn(getShell(), MAIN_PREFERENCE_PAGE_ID,
- new String[] { MAIN_PREFERENCE_PAGE_ID, IUiConstants.Preferences.FILTERS_PREFERENCE_PAGE_ID }, null)
- .open();
+ new String[] { MAIN_PREFERENCE_PAGE_ID }, null).open();
}
/**
More information about the jbosstools-commits
mailing list