KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > editor > context > UTF8InputContext


1 /*******************************************************************************
2  * Copyright (c) 2003, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 /*
12  * Created on Jan 27, 2004
13  *
14  * To change the template for this generated file go to
15  * Window - Preferences - Java - Code Generation - Code and Comments
16  */

17 package org.eclipse.pde.internal.ui.editor.context;
18 import org.eclipse.pde.internal.ui.editor.PDEFormEditor;
19 import org.eclipse.ui.IEditorInput;
20
21
22 public abstract class UTF8InputContext extends InputContext {
23     /**
24      * @param editor
25      * @param input
26      */

27     public UTF8InputContext(PDEFormEditor editor, IEditorInput input, boolean primary) {
28         super(editor, input, primary);
29     }
30     
31     protected String JavaDoc getDefaultCharset() {
32         return "UTF-8"; //$NON-NLS-1$
33
}
34     
35 }
36
Popular Tags