|
Lines 1-5
Link Here
|
| 1 |
/********************************************************************** |
1 |
/********************************************************************** |
| 2 |
* Copyright (c) 2005, 2007 IBM Corporation and others. |
2 |
* Copyright (c) 2005, 2008 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 68-73
Link Here
|
| 68 |
import org.eclipse.tptp.platform.models.symptom.recommendation.RecommendationPackage; |
68 |
import org.eclipse.tptp.platform.models.symptom.recommendation.RecommendationPackage; |
| 69 |
import org.eclipse.tptp.platform.models.symptom.resource.ResourcePackage; |
69 |
import org.eclipse.tptp.platform.models.symptom.resource.ResourcePackage; |
| 70 |
import org.eclipse.tptp.platform.models.xpath.expression.ExpressionPackage; |
70 |
import org.eclipse.tptp.platform.models.xpath.expression.ExpressionPackage; |
|
|
71 |
import org.eclipse.tptp.symptom.internal.util.SymptomEditToolTips; |
| 71 |
import org.eclipse.tptp.symptom.internal.util.SymptomEditUtil; |
72 |
import org.eclipse.tptp.symptom.internal.util.SymptomEditUtil; |
| 72 |
import org.eclipse.tptp.symptom.provider.SymptomEditPlugin; |
73 |
import org.eclipse.tptp.symptom.provider.SymptomEditPlugin; |
| 73 |
import org.eclipse.ui.IWorkbenchWindow; |
74 |
import org.eclipse.ui.IWorkbenchWindow; |
|
Lines 171-176
Link Here
|
| 171 |
//data.grabExcessHorizontalSpace = true; |
172 |
//data.grabExcessHorizontalSpace = true; |
| 172 |
txtLocationFolder.setLayoutData(data); |
173 |
txtLocationFolder.setLayoutData(data); |
| 173 |
txtLocationFolder.setText(selFolder); |
174 |
txtLocationFolder.setText(selFolder); |
|
|
175 |
txtLocationFolder.setToolTipText(SymptomEditToolTips.folderName); |
| 174 |
|
176 |
|
| 175 |
// location folder browse button |
177 |
// location folder browse button |
| 176 |
btnLocationBrowse = new Button(locationGrp, SWT.PUSH); |
178 |
btnLocationBrowse = new Button(locationGrp, SWT.PUSH); |
|
Lines 188-193
Link Here
|
| 188 |
|
190 |
|
| 189 |
txtDBName = new Text(parent, SWT.BORDER); |
191 |
txtDBName = new Text(parent, SWT.BORDER); |
| 190 |
txtDBName.setLayoutData(GridUtil.createHorizontalFill()); |
192 |
txtDBName.setLayoutData(GridUtil.createHorizontalFill()); |
|
|
193 |
txtDBName.setToolTipText(SymptomEditToolTips.catalogName); |
| 191 |
|
194 |
|
| 192 |
Label dummy = new Label(parent, SWT.NONE); |
195 |
Label dummy = new Label(parent, SWT.NONE); |
| 193 |
dummy.setVisible(false); |
196 |
dummy.setVisible(false); |
|
Lines 200-212
Link Here
|
| 200 |
descriptionLabel.setLayoutData(data); |
203 |
descriptionLabel.setLayoutData(data); |
| 201 |
|
204 |
|
| 202 |
|
205 |
|
| 203 |
txtDescription = new Text(parent, SWT.BORDER | SWT.MULTI); |
206 |
txtDescription = new Text(parent, (SWT.BORDER | SWT.MULTI | SWT.WRAP)); |
| 204 |
data = new GridData(); |
207 |
data = new GridData(); |
| 205 |
data.verticalAlignment = GridData.FILL; |
208 |
data.verticalAlignment = GridData.FILL; |
| 206 |
data.horizontalAlignment = GridData.FILL; |
209 |
data.horizontalAlignment = GridData.FILL; |
| 207 |
data.heightHint = 150; |
210 |
data.heightHint = 150; |
| 208 |
|
211 |
|
| 209 |
txtDescription.setLayoutData(data); |
212 |
txtDescription.setLayoutData(data); |
|
|
213 |
txtDescription.setToolTipText(SymptomEditToolTips.catalogDescr); |
| 210 |
|
214 |
|
| 211 |
} |
215 |
} |
| 212 |
|
216 |
|
|
Lines 236-241
Link Here
|
| 236 |
setPageComplete(determinePageCompletion()); |
240 |
setPageComplete(determinePageCompletion()); |
| 237 |
}; |
241 |
}; |
| 238 |
}); |
242 |
}); |
|
|
243 |
cmbFormat.setToolTipText(SymptomEditToolTips.catalogFormat); |
| 239 |
PlatformUI.getWorkbench().getHelpSystem().setHelp(cmbFormat, ContextIds.NEW_SYMDB_FORMAT); |
244 |
PlatformUI.getWorkbench().getHelpSystem().setHelp(cmbFormat, ContextIds.NEW_SYMDB_FORMAT); |
| 240 |
} |
245 |
} |
| 241 |
|
246 |
|