public int open() {
try {
File localFile = new File(Platform.getInstanceLocation().getURL().getFile());
long l1 = localFile.getFreeSpace();
Registry localRegistry = Registry.getRegistry(this);
long l2 = 1024000L;
long l3 = localRegistry.getLong("minimum_disk_space_megabytes", 100L);
l3 *= l2;
if (l1 < l3) {
String str1 = localRegistry.getString("minimum_free_space_warning_title");
String str2 = localRegistry.getString("minimum_free_space_warning_message1");
String str3 = localRegistry.getString("minimum_free_space_warning_message2");
String str4 = localRegistry.getString("minimum_free_space_warning_details");
Object[] arrayOfObject = { localFile.getAbsolutePath(), Long.valueOf(l1 / l2), Long.valueOf(l3 / l2) };
String str5 = MessageFormat.format(str4, arrayOfObject);
String str6 = str2 + "\n\n" + str5 + "\n\n" + str3;
MessageDialog.openWarning(getShell(), str1, str6);
}