{
return;
}
final String mimeType = bundle.getEntryMimeType(selectedEntry);
final StringBufferWriter w = new StringBufferWriter(new StringBuffer());
try
{
final InputStream stream = bundle.getEntryAsStream(selectedEntry);
try
{
final InputStreamReader r = new InputStreamReader(stream, "ISO-8859-1"); // NON-NLS
IOUtils.getInstance().copyWriter(r, w);
}
catch (IOException ioe)
{
ioe.printStackTrace();
}
finally
{
stream.close();
}
}
catch (IOException ioe)
{
ioe.printStackTrace();
return;
}
final TextAreaPropertyEditorDialog editorDialog = new TextAreaPropertyEditorDialog(BundledResourceEditor.this);
final String originalValue = w.getBuffer().toString();
final String editedValue = editorDialog.performEdit(originalValue);
if (ObjectUtilities.equal(originalValue, editedValue))
{
return;
}