blob: b77220a79304d16298e3d462606734ee222ba49a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/****************************************************************************
* Copyright (c) 2004 Composent, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Composent, Inc. - initial API and implementation
*****************************************************************************/
package org.eclipse.ecf.internal.example.collab.start;
import java.util.Collection;
import org.eclipse.ecf.internal.example.collab.ClientPlugin;
import org.eclipse.ecf.internal.example.collab.Messages;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.viewers.ListViewer;
import org.eclipse.swt.widgets.Button;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
public class AutoLoginPreferencePage extends FieldEditorPreferencePage
implements IWorkbenchPreferencePage {
protected Collection contents = null;
protected ListViewer list = null;
protected Button delete = null;
public AutoLoginPreferencePage() {
super(GRID);
setPreferenceStore(ClientPlugin.getDefault().getPreferenceStore());
}
public void init(IWorkbench workbench) {
}
protected void createFieldEditors() {
addField(new URLListFieldEditor("urilisteditor", //$NON-NLS-1$
Messages.AutoLoginPreferencePage_URILISTEDITOR_TEXT,
getFieldEditorParent()));
}
}
|