public void createStatusEncodingChangeControl(Composite parent, IStatus status)(Code)
Creates the control which allows to change the encoding.
In case of encoding errors this control will be placed below
the status of the status editor.
Parameters: parent - the parent control Parameters: status - the status since: 3.1
Returns a status message if any.
Parameters: status - the status a status message indicating encoding problems or null otherwise
initialize
public void initialize(StatusTextEditor textEditor)(Code)
Associates this encoding support to the given text editor and initializes this encoding.
Parameters: textEditor - the editor
isEncodingError
public boolean isEncodingError(IStatus status)(Code)
Returns true if the given status is an
encoding error.
Parameters: status - the status to check true if the given status is an encoding error since: 3.1
Sets the encoding of the editor's input to the given value. If overwrite is
true the value is set even if the encoding is already set.
Parameters: encoding - the new encoding Parameters: overwrite - true if current encoding should be overwritten