Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 150385 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/GenerationOptionsPage.java (-1 / +4 lines)
Lines 757-763 Link Here
757
		if(isPageComplete() && _projectizerCombo.getText().indexOf("Axis")!=-1)
757
		if(isPageComplete() && _projectizerCombo.getText().indexOf("Axis")!=-1)
758
		{
758
		{
759
			axis2Project = true;
759
			axis2Project = true;
760
			((Axis2ServerLocationPage)this.getNextPage()).makePageComplete(false);
760
			Axis2ServerLocationPage nextPage = (Axis2ServerLocationPage)this.getNextPage();
761
			nextPage.makePageComplete(false);
762
			nextPage._serverNameField.setText(nextPage.getPreferenceServerLocation());
763
761
			return true;
764
			return true;
762
		}
765
		}
763
		((Axis2ServerLocationPage)this.getNextPage()).makePageComplete(true);
766
		((Axis2ServerLocationPage)this.getNextPage()).makePageComplete(true);
(-)src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/Axis2ServerLocationPage.java (-2 / +2 lines)
Lines 40-46 Link Here
40
public class Axis2ServerLocationPage extends WizardPage
40
public class Axis2ServerLocationPage extends WizardPage
41
{
41
{
42
	
42
	
43
	private Text _serverNameField;
43
	protected Text _serverNameField;
44
	private Button _browseButton;
44
	private Button _browseButton;
45
	private Button _preferenceUpdate;
45
	private Button _preferenceUpdate;
46
	private final String[] axis2files = {"lib/axis2-adb-1.1.1.jar",
46
	private final String[] axis2files = {"lib/axis2-adb-1.1.1.jar",
Lines 137-143 Link Here
137
        _preferenceUpdate.setFont(parent.getFont());		
137
        _preferenceUpdate.setFont(parent.getFont());		
138
	}
138
	}
139
	
139
	
140
	private String getPreferenceServerLocation() 
140
	protected String getPreferenceServerLocation() 
141
	{
141
	{
142
		IPreferenceStore store = Activator.getPlugin().getPreferenceStore();
142
		IPreferenceStore store = Activator.getPlugin().getPreferenceStore();
143
		String location = store.getString(Axis2ServerLocationPreferencePage.SERVER_LOCATION_PREFERENCE_KEY).trim();
143
		String location = store.getString(Axis2ServerLocationPreferencePage.SERVER_LOCATION_PREFERENCE_KEY).trim();

Return to bug 150385