public PropertyContentOutlinePage(PropertiesFileEditor editor) {
final IEditorInput input = editor.getEditorInput();
final IDocumentProvider provider = editor.getDocumentProvider();
this.editor = editor;
document = provider.getDocument(input);
document.addDocumentListener(new IDocumentListener() {
public void documentChanged(DocumentEvent event) {
try {
setProperties(getPairs(event.fDocument));
} catch (UnsupportedEncodingException e) {