~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to java/src/IceGridGUI/Application/ServerTemplateEditor.java

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
7
7
//
8
8
// **********************************************************************
 
9
 
9
10
package IceGridGUI.Application;
10
11
 
11
12
import com.jgoodies.forms.builder.DefaultFormBuilder;
16
17
    {
17
18
        _subEditor = new ServerSubEditor(this);
18
19
    }
19
 
    
 
20
 
20
21
    void writeDescriptor()
21
22
    {
22
23
        super.writeDescriptor();
23
24
        _subEditor.writeDescriptor();
24
 
    }       
 
25
    }
25
26
 
26
27
    boolean isSimpleUpdate()
27
28
    {
29
30
    }
30
31
 
31
32
    protected void appendProperties(DefaultFormBuilder builder)
32
 
    { 
 
33
    {
33
34
        super.appendProperties(builder);
34
35
        builder.appendSeparator();
35
36
        builder.nextLine();
51
52
    {
52
53
        detectUpdates(false);
53
54
        _target = t;
54
 
        
 
55
 
55
56
        super.show();
56
57
        _subEditor.show(true);
57
58
 
58
59
        _applyButton.setEnabled(t.isEphemeral());
59
 
        _discardButton.setEnabled(t.isEphemeral());       
 
60
        _discardButton.setEnabled(t.isEphemeral());
60
61
        detectUpdates(true);
61
62
        if(t.isEphemeral())
62
63
        {