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 4e4ca6ad24475b068b3e39171f7d859c8f836462..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;
@@ -18,31 +18,36 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceD
  * <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.026141 seconds and 5 git commands to generate.