| <?xml version="1.0"?> |
| <!-- |
| Copyright 2002,2004 The Apache Software Foundation. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <j:jelly xmlns:j="jelly:core" xmlns="jelly:jface" xmlns:log="jelly:log"> |
| |
| <applicationWindow var="mainapp"> |
| |
| <preferenceDialog var="pd"> |
| |
| <preferencePage title="General settings" filename="settings.props"> |
| <booleanFieldEditor name="var1" labelText="It's boolean" /> |
| <colorFieldEditor name="var2" labelText="MainColor" /> |
| <directoryFieldEditor name="var3" labelText="Directory" /> |
| <fileFieldEditor name="var4" labelText="File" /> |
| <fontFieldEditor name="var5" labelText="Font" /> |
| <integerFieldEditor name="var6" labelText="Integer" /> |
| <stringFieldEditor name="var7" labelText="String" /> |
| </preferencePage> |
| |
| <preferencePage title="Personal settings" filename="personal-settings.props" > |
| <stringFieldEditor name="var8" labelText="String1" /> |
| <stringFieldEditor name="var9" labelText="String2" /> |
| </preferencePage> |
| |
| </preferenceDialog> |
| |
| |
| </applicationWindow> |
| |
| |
| ${pd.open()} |
| |
| |
| |
| </j:jelly> |