summaryrefslogtreecommitdiff
path: root/java/src/IceGrid/TreeNode/Application.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-10-26 23:54:03 +0000
committerBernard Normier <bernard@zeroc.com>2005-10-26 23:54:03 +0000
commit220fbc2ebd2a073cd6884eddf7cf2e6fe0d80b2c (patch)
treeb87d9e55c73636939edd098ea6b16f3f2b413e09 /java/src/IceGrid/TreeNode/Application.java
parentnew icons for IceGrid (diff)
downloadice-220fbc2ebd2a073cd6884eddf7cf2e6fe0d80b2c.tar.bz2
ice-220fbc2ebd2a073cd6884eddf7cf2e6fe0d80b2c.tar.xz
ice-220fbc2ebd2a073cd6884eddf7cf2e6fe0d80b2c.zip
Implemented node shutdown
Diffstat (limited to 'java/src/IceGrid/TreeNode/Application.java')
-rwxr-xr-xjava/src/IceGrid/TreeNode/Application.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/java/src/IceGrid/TreeNode/Application.java b/java/src/IceGrid/TreeNode/Application.java
index e54879f4056..8d854089534 100755
--- a/java/src/IceGrid/TreeNode/Application.java
+++ b/java/src/IceGrid/TreeNode/Application.java
@@ -243,58 +243,6 @@ public class Application extends EditableParent
_model.showActions(_model.getSelectedNode());
}
-
- private void amiSuccess(final String prefix)
- {
- SwingUtilities.invokeLater(new Runnable()
- {
- public void run()
- {
- _model.getStatusBar().setText(prefix + "done.");
- }
- });
- }
-
- private void amiFailure(String prefix, String title, Ice.UserException e)
- {
- if(e instanceof IceGrid.ApplicationNotExistException)
- {
- amiFailure(prefix, title, "This application was not registered with the IceGrid Registry");
- }
- else if(e instanceof IceGrid.PatchException)
- {
- IceGrid.PatchException pe = (IceGrid.PatchException)e;
- amiFailure(prefix, title, pe.reason);
- }
- else
- {
- amiFailure(prefix, title, e.toString());
- }
- }
-
- private void amiFailure(final String prefix, final String title, final String message)
- {
- SwingUtilities.invokeLater(new Runnable()
- {
- public void run()
- {
- failure(prefix, title, message);
- }
- });
- }
-
- private void failure(String prefix, String title, String message)
- {
- _model.getStatusBar().setText(prefix + "failed!");
-
- JOptionPane.showMessageDialog(
- _model.getMainFrame(),
- message,
- title,
- JOptionPane.ERROR_MESSAGE);
- }
-
-
public ApplicationUpdateDescriptor createUpdateDescriptor()
{
ApplicationUpdateDescriptor update = new ApplicationUpdateDescriptor();