mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
change messages
This commit is contained in:
+5
-8
@@ -349,9 +349,8 @@ public class ResultsScrollPanel extends JScrollPane {
|
|||||||
descriptionArea.setText(result.getDescription());
|
descriptionArea.setText(result.getDescription());
|
||||||
categoryLabel.setText("<html>Category: <b>" + result.getCategory() + "</b></html>");
|
categoryLabel.setText("<html>Category: <b>" + result.getCategory() + "</b></html>");
|
||||||
updatedLabel.setText("<html>Last updated: <b>" + result.getUpdated() + "</b></html>");
|
updatedLabel.setText("<html>Last updated: <b>" + result.getUpdated() + "</b></html>");
|
||||||
cloudUI.showMessage(
|
cloudUI.showMessage("The project has been updated successfully.", "Upload Success",
|
||||||
"The project has been uploaded to the cloud successfully. Thank you for your contribution!",
|
IView.INFORMATION_MESSAGE);
|
||||||
"Upload Success", IView.INFORMATION_MESSAGE);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -375,7 +374,7 @@ public class ResultsScrollPanel extends JScrollPane {
|
|||||||
DialogFactory.getInstance().showOpenDialog(FileFilterEnum.DIY.getFilter(), null,
|
DialogFactory.getInstance().showOpenDialog(FileFilterEnum.DIY.getFilter(), null,
|
||||||
FileFilterEnum.DIY.getExtensions()[0], null, cloudUI.getOwnerFrame());
|
FileFilterEnum.DIY.getExtensions()[0], null, cloudUI.getOwnerFrame());
|
||||||
if (file != null) {
|
if (file != null) {
|
||||||
LOG.info("Preparing re-upload of project " + project.getName() + "(" + project.getId() + ")");
|
LOG.info("Preparing replacement for project " + project.getName() + "(" + project.getId() + ")");
|
||||||
cloudUI.executeBackgroundTask(new ITask<String[]>() {
|
cloudUI.executeBackgroundTask(new ITask<String[]>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -417,10 +416,8 @@ public class ResultsScrollPanel extends JScrollPane {
|
|||||||
categoryLabel.setText("<html>Category: <b>" + result.getCategory() + "</b></html>");
|
categoryLabel.setText("<html>Category: <b>" + result.getCategory() + "</b></html>");
|
||||||
updatedLabel.setText("<html>Last updated: <b>" + result.getUpdated() + "</b></html>");
|
updatedLabel.setText("<html>Last updated: <b>" + result.getUpdated() + "</b></html>");
|
||||||
thumbnailLabel.setIcon(new ImageIcon(dialog.getThumbnail()));
|
thumbnailLabel.setIcon(new ImageIcon(dialog.getThumbnail()));
|
||||||
cloudUI
|
cloudUI.showMessage("The project has been replaced successfully.", "Upload Success",
|
||||||
.showMessage(
|
IView.INFORMATION_MESSAGE);
|
||||||
"The project has been uploaded to the cloud successfully. Thank you for your contribution!",
|
|
||||||
"Upload Success", IView.INFORMATION_MESSAGE);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user