Author: rob.stryker(a)jboss.com
Date: 2011-10-10 08:15:41 -0400 (Mon, 10 Oct 2011)
New Revision: 35512
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ServerAdapterWizardModel.java
Log:
JBIDE-9793 - preparing for pair-coding, to minimize collisions.
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java 2011-10-10
12:02:05 UTC (rev 35511)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java 2011-10-10
12:15:41 UTC (rev 35512)
@@ -63,6 +63,10 @@
fillLayout.marginHeight = 6;
fillLayout.marginWidth = 6;
serverAdapterGroup.setLayout(fillLayout);
+ fillServerAdapterGroup(serverAdapterGroup);
+ }
+
+ private void fillServerAdapterGroup(Group serverAdapterGroup) {
Button serverAdapterCheckbox = new Button(serverAdapterGroup, SWT.CHECK);
serverAdapterCheckbox.setText("Create a JBoss server adapter");
}
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ServerAdapterWizardModel.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ServerAdapterWizardModel.java 2011-10-10
12:02:05 UTC (rev 35511)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ServerAdapterWizardModel.java 2011-10-10
12:15:41 UTC (rev 35512)
@@ -61,7 +61,13 @@
Repository repository = createRepository(applicationWorkingdir);
// TODO replace remote name by user setting
EGitUtils.addRemoteTo("openshift", new URIish(application.getGitUri()),
repository);
+
+ createServerAdapterIfRequired();
}
+
+ private void createServerAdapterIfRequired() {
+ // TODO
+ }
private Repository createRepository(String name) throws IOException {
InitCommand init = Git.init();
Show replies by date