Skip to content.
A RemoteServerOptionsPanel represents the panel to be displayed in the ServerAdministrationPanelGUI when its corresponding button is selected in the ButtonBar.

This document outlines the steps necessary to add a new RemoteServerOptionsPanel in the remote server administration user interface.

  1. Implement the RemoteServerOptionsPanel interface
    1. Should extend from AbstractGUI
    2. Implement interface methods
      1. getLabel(): Very short label (displayed in ButtonBar)
      2. getDescription(): A little bit longer label (displayed when selected)
      3. getIconFilename(): Path of icon image resource in "images/icons" (displayed in ButtonBar)
  2. Register with ServerAdministrationPanelGUI
    1. Instantiated in addServerRemoteOptionsPanels() method B. Register with registerOptionsPanel() method

Note: Implementations exist for ontology (RemoteServerOntologyOptionsGUI) and user/group management (RemoteServerUserGroupOptionsGUI). The user/group management options panel also implements a listener interface (UserGroupRefreshListener). When the panel is registered with the ServerAdministrationPanelGUI, it is also registered with the RemoteServerManager to be notified of ServerResponse events that are pertinent to the UserGroupRefreshListener. This design was necessary due to Java's lack of a callback mechanism.

-- RonNor - 30 Jan 2006