tmf.ui: Introduce TmfFileDialogFactory
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / ISaveDialog.java
1 /**********************************************************************
2 * Copyright (c) 2015 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org.eclipse.tracecompass.internal.lttng2.control.ui.views.dialogs;
13
14 /**
15 * Interface for a dialog box for collecting parameter for saving a session.
16 *
17 * @author Bernd Hufmann
18 */
19 public interface ISaveDialog {
20 // ------------------------------------------------------------------------
21 // Accessors
22 // ------------------------------------------------------------------------
23 /**
24 * Returns flag to overwrite existing session or not
25 * @return flag to overwrite existing session or not
26 */
27 boolean isForce();
28
29 // ------------------------------------------------------------------------
30 // Operations
31 // ------------------------------------------------------------------------
32 /**
33 * Open method
34 * @return the open return value
35 */
36 int open();
37 }
This page took 0.03154 seconds and 5 git commands to generate.