Ignore:
Timestamp:
2001-05-28T13:19:16+12:00 (23 years ago)
Author:
say1
Message:

generalised ChangeLogDialog ==>> FileDialog to allow viewing of the ChangeLog, the GPL or the interface

Location:
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/CSFrame.java

    r2281 r2475  
    8181    editMenu.add( prefAction = new EditAction("Preferences", PREF_ID, this));
    8282    editMenu.add( prefAction = new EditAction("View Change Log", LOG_ID, this));
     83    editMenu.add( prefAction = new EditAction("View Licence", LICENCE_ID, this));
     84    editMenu.add( prefAction = new EditAction("View CORBA interface", INTERFACE_ID, this));
    8385
    8486   
     
    185187                     break;
    186188                case LOG_ID:
    187                      ChangeLogDialog logDialog = new ChangeLogDialog(frame, "ChangeLog", false);
     189                     FileDialog changeDialog = new FileDialog(frame, "ChangeLog", false,"ChangeLog");
     190                     break;
     191                case LICENCE_ID:
     192                     FileDialog gplDialog = new FileDialog(frame, "GNU Public Licence", false,"GPL");
     193                     break;
     194                case INTERFACE_ID:
     195                     FileDialog ifaceDialog = new FileDialog(frame, "Greenstone CORBA interface", false,"corbaiface.idl");
    188196                     break;
    189197                default:
  • trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Constants.java

    r2312 r2475  
    4949  final static int PREF_ID              = 201;
    5050  final static int LOG_ID               = 202;
     51  final static int LICENCE_ID               = 203;
     52  final static int INTERFACE_ID             = 204;
    5153
    5254
  • trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Makefile

    r2467 r2475  
    1 CLASSES = ChangeLogDialog.class\
    2 PreferencesDialog.class\
     1CLASSES = FileDialog.class\
     2  PreferencesDialog.class\
    33  CSFrame.class \
    44  CSModel.class\
Note: See TracChangeset for help on using the changeset viewer.