tmf/lttng: Remove unneeded (non-Javadoc) comments
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / ImportConfirmationDialog.java
index 75b035c467c18cb862c6ec32d63d6407eeff9bd6..2f53cc2e94b56fe400a531355015681f775f4304 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;
@@ -33,7 +33,7 @@ import org.eclipse.swt.widgets.Text;
  * <p>
  * Dialog box for collecting session creation information.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class ImportConfirmationDialog extends Dialog implements IImportConfirmationDialog {
@@ -66,7 +66,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
      */
     private Text fNewTraceNameText = null;
     /**
-     * The trace name which already exists in the project 
+     * The trace name which already exists in the project
      */
     private String fTraceName = null;
     /**
@@ -93,28 +93,17 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#setTraceName(java.lang.String)
-     */
+
     @Override
     public void setTraceName(String name) {
         fTraceName = name;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#getNewTraceName()
-     */
     @Override
     public String getNewTraceName() {
         return fNewTraceName;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#isOverwrite()
-     */
+
     @Override
     public boolean isOverwrite() {
         return fIsOverride;
@@ -123,10 +112,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -134,13 +120,9 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
         newShell.setImage(Activator.getDefault().loadIcon(IMPORT_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
-        
+
         // Main dialog panel
         fDialogComposite = new Composite(parent, SWT.NONE);
         GridLayout layout = new GridLayout(1, true);
@@ -152,7 +134,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
 
         fOverwriteButton = new Button(fDialogComposite, SWT.RADIO);
         fOverwriteButton.setText(Messages.TraceControl_ImportDialogConfirmationOverwriteLabel);
-        
+
         fOverwriteButton.addSelectionListener(new SelectionAdapter() {
             @Override
             public void widgetSelected(SelectionEvent e) {
@@ -160,17 +142,17 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
                 fNewTraceNameText.setText(fTraceName);
             }
         });
-        
+
         fRenameButton = new Button(fDialogComposite, SWT.RADIO);
         fRenameButton.setText(Messages.TraceControl_ImportDialogConfirmationRenameLabel);
-        
+
         fRenameButton.addSelectionListener(new SelectionAdapter() {
             @Override
             public void widgetSelected(SelectionEvent e) {
                 fNewTraceNameText.setEnabled(true);
             }
         });
-        
+
         fNewTraceNameText = new Text(fDialogComposite, SWT.NONE);
         fNewTraceNameText.setToolTipText(Messages.TraceControl_ImportDialogConfirmationNewNameLabel);
         fNewTraceNameText.setText(fTraceName);
@@ -178,32 +160,24 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
         // Default
         fOverwriteButton.setSelection(true);
         fNewTraceNameText.setEnabled(false);
-        
+
 
         // layout widgets
         GridData data = new GridData(GridData.FILL_HORIZONTAL);
-        
+
         fNewTraceNameText.setLayoutData(data);
 
         getShell().setMinimumSize(new Point(300, 150));
-        
+
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
 
This page took 0.027323 seconds and 5 git commands to generate.