lttng: fix sonar warnings about redundant modifier in interfaces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IConfirmDialog.java
index 3e448005649ea25dd5786e6973c76046453c4c74..8942e9c2df313e37ddd4e2d09ac2a8f21928e167 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
- * Contributors: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
@@ -17,11 +17,22 @@ import org.eclipse.swt.widgets.Shell;
  * <p>
  * Interface for a confirmation dialog.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public interface IConfirmDialog {
-    
-    public boolean openConfirm(Shell parent, String title, String message);
-    
+
+    /**
+     * Open a confirmation dialog
+     *
+     * @param parent
+     *            The parent shell
+     * @param title
+     *            The title of the dialog window
+     * @param message
+     *            The message in the dialog window
+     * @return If the user clicked OK (true) or Cancel (false)
+     */
+    boolean openConfirm(Shell parent, String title, String message);
+
 }
This page took 0.024443 seconds and 5 git commands to generate.