| org.eclipse.ui.ide.dialogs.AbstractEncodingFieldEditor org.eclipse.ui.ide.dialogs.ResourceEncodingFieldEditor
ResourceEncodingFieldEditor | final public class ResourceEncodingFieldEditor extends AbstractEncodingFieldEditor (Code) | | The ResourceEncodingFieldEditor is a field editor for editing the encoding of
a resource and does not use a preference store.
This class may be instantiated; it is not intended to be subclassed.
since: 3.1 |
Constructor Summary | |
public | ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource) Creates a new encoding field editor for setting the encoding on the given
resource. | public | ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource, String groupTitle) Creates a new encoding field editor for setting the encoding on the given
resource.
Parameters: labelText - the label text of the field editor Parameters: parent - the parent of the field editor's control Parameters: charsetResource - must be an IContainer or an IFile . Parameters: groupTitle - the title for the field editor's control. |
ResourceEncodingFieldEditor | public ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource)(Code) | | Creates a new encoding field editor for setting the encoding on the given
resource.
Parameters: labelText - the label text of the field editor Parameters: parent - the parent of the field editor's control Parameters: charsetResource - must be an IContainer or an IFile . See Also: org.eclipse.core.resources.IContainer.getDefaultCharset See Also: org.eclipse.core.resources.IFile.getCharset |
ResourceEncodingFieldEditor | public ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource, String groupTitle)(Code) | | Creates a new encoding field editor for setting the encoding on the given
resource.
Parameters: labelText - the label text of the field editor Parameters: parent - the parent of the field editor's control Parameters: charsetResource - must be an IContainer or an IFile . Parameters: groupTitle - the title for the field editor's control. If groupTitle is null the control will be unlabelled(by default a Composite instead of a Group. See Also: org.eclipse.core.resources.IContainer.getDefaultCharset See Also: org.eclipse.core.resources.IFile.getCharset See Also: AbstractEncodingFieldEditor.setGroupTitle(String) since: 3.3 |
createEncodingGroup | protected Composite createEncodingGroup(Composite parent, int numColumns)(Code) | | |
doStore | protected void doStore()(Code) | | |
findDefaultEncoding | protected String findDefaultEncoding()(Code) | | |
loadDefault | public void loadDefault()(Code) | | |
setEnabled | public void setEnabled(boolean enabled, Composite parent)(Code) | | |
store | public void store()(Code) | | |
|
|