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 / IEnableChannelDialog.java
index 18f8873d44aa29f8c572d60d305e1fd83045b3e6..4f873ce88efd60df0e86eb22b06d37743293c5e8 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;
@@ -15,33 +15,39 @@ import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo;
 import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent;
 
 /**
- * <b><u>IEnableChannelDialog</u></b>
  * <p>
  * Interface for the enable channel dialog when domain is known.
  * </p>
+ *
+ * @author Bernd Hufmann
  */
 public interface IEnableChannelDialog {
-    
+
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
     /**
      * @return the configuration info for the new channel.
      */
-    public IChannelInfo getChannelInfo();
-    
+    IChannelInfo getChannelInfo();
+
     /**
      * Sets the domain component
      * @param domain - the trace domain component
      */
-    public void setDomainComponent(TraceDomainComponent domain);
-    
+    void setDomainComponent(TraceDomainComponent domain);
+
     /**
      * @return true for Kernel domain. False for UST.
      */
-    public boolean isKernel();
+    boolean isKernel();
+
+    /**
+     * Sets the whether dialog is for Kernel or UST
+     * @param isKernel true for kernel domain else UST
+     */
+    void setHasKernel(boolean isKernel);
 
-    
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
This page took 0.024756 seconds and 5 git commands to generate.