|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.xml.api.cookies; import javax.swing.DefaultComboBoxModel; import org.openide.filesystems.FileObject; import org.openide.nodes.Node; /** * A cookie for objects which want to support scenarios * * @author asgeir@dimonsoftware.com * @deprecated Experimantal SPI */ public interface ScenarioCookie extends Node.Cookie { /** * Displays the Customize scenarios dialog * @return true if the Customize dialog was pressed with the OK button, * but false if it was closed with the Cancel button. */ public boolean customizeScenarios(); /** * Returns the ComboBoxModel that represents the a list of scenarios. * The active scenario is the selected item in that ComboBoxModel * @return The ComboBoxModel that represents the a list of scenarios. * The active scenario is the selected item in that ComboBoxModel. */ public DefaultComboBoxModel getModel(); /** * Executes an object using the active scenario. * If no scenario is active, the Customize scenarios dialog is displayed * before execution. */ public void executeActiveScenario(); } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.