blob: c8d569ebe64a9fd6366f327cb46f176af0cf40f2 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Bernd Hufmann - Initial API and implementation
**********************************************************************/
package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs;
/**
* Interface for a dialog box for collecting parameter for saving a session.
*
* @author Bernd Hufmann
*/
public interface ISaveDialog {
// ------------------------------------------------------------------------
// Accessors
// ------------------------------------------------------------------------
/**
* Returns flag to overwrite existing session or not
* @return flag to overwrite existing session or not
*/
boolean isForce();
// ------------------------------------------------------------------------
// Operations
// ------------------------------------------------------------------------
/**
* Open method
* @return the open return value
*/
int open();
}