All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.messaging.jmq.admin.apps.console.AdminApp Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2000, 2017 Oracle and/or its affiliates. All rights reserved.
 * Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0, which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the
 * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
 * version 2 with the GNU Classpath Exception, which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 */

package com.sun.messaging.jmq.admin.apps.console;

import java.awt.Frame;

/**
 * This class defines the interface to the admin GUI application. It represents the central point from which the major
 * GUI pieces of the admin GUI application and other information can be obtained.
 * 

* A class implementing this interface can be used to run or control the admin application. For the admin console * application, this controller can do things like: * *

    *
  • show some status text in the status pane *
  • show some object as being selected in the select pane *
  • tell the canvas to select or deselect something *
  • disable/enable some buttons in the control panel *
* * Currently, the admin console is a main application. This is done via the AdminConsole class which extends AdminApp. *

* Later, if we decide to create an applet version of the console, we would create an applet class also extend AdminApp. */ public interface AdminApp { /** * Returns the application frame. * * @return The application frame. */ Frame getFrame(); /** * Returns the menubar. * * @return The menubar. */ AMenuBar getMenubar(); /** * Returns the toolbar. * * @return The toolbar. */ AToolBar getToolbar(); /** * Returns the explorer pane. This is the pane that contains the tree. * * @return The explorer pane. */ AExplorer getExplorer(); /** * Returns the inspector pane. This is the pane that shows the attributes of what is currently selected. * * @return The inspector pane. */ AInspector getInspector(); /** * Returns the status area pane. * * @return The status area pane. */ AStatusArea getStatusArea(); /** * Returns the action manager. * * @return The action manager. */ ActionManager getActionManager(); /** * Returns the top level object store list object. * * @return The top level object store list object. */ ObjStoreListCObj getObjStoreListCObj(); /** * Returns the top level broker list object. * * @return The top level broker list object. */ BrokerListCObj getBrokerListCObj(); /** * Sets the selected object in the application. */ void setSelectedObj(ConsoleObj obj); /** * Returns the selected object. * * @return The selected object. */ ConsoleObj getSelectedObj(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy