01: /*******************************************************************************
02: * Copyright (c) 2003, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.editor.context;
11:
12: import org.eclipse.pde.internal.ui.editor.PDEFormEditor;
13: import org.eclipse.ui.IEditorInput;
14:
15: public abstract class UTF8InputContext extends InputContext {
16: /**
17: * @param editor
18: * @param input
19: */
20: public UTF8InputContext(PDEFormEditor editor, IEditorInput input,
21: boolean primary) {
22: super (editor, input, primary);
23: }
24:
25: protected String getDefaultCharset() {
26: return "UTF-8"; //$NON-NLS-1$
27: }
28:
29: }
|