javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/LaunchAppQueryView.java
changeset 47 f40128debb5d
parent 35 85266cc22c7f
child 72 1f0034e370aa
--- a/javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/LaunchAppQueryView.java	Fri Jun 11 13:33:44 2010 +0300
+++ b/javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/LaunchAppQueryView.java	Wed Jun 23 18:07:10 2010 +0300
@@ -18,12 +18,9 @@
 
 package com.nokia.mj.impl.installer.ui.eswt2;
 
-import com.nokia.mj.impl.installer.ui.InstallInfo;
 import com.nokia.mj.impl.installer.ui.LaunchAppInfo;
 
-import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Button;
 
 /**
  * LaunchAppQueryView asks from the user if the installed
@@ -31,9 +28,6 @@
  */
 public class LaunchAppQueryView extends ConfirmationViewBase
 {
-    private LaunchAppInfo iLaunchAppInfo = null;
-    private Button iDefaultButton = null;
-
     /** Constructor */
     protected LaunchAppQueryView()
     {
@@ -58,7 +52,6 @@
             return false;
         }
 
-        iLaunchAppInfo = aLaunchAppInfo;
         // Use confirm() from super class to display the view.
         boolean result = confirm();
         // Return the result to the client.
@@ -81,26 +74,4 @@
     {
         // User selection data is initialized in button listeners.
     }
-
-    /**
-     * Returns SWT style for this view.
-     */
-    protected int getStyle()
-    {
-        return SWT.V_SCROLL;
-    }
-
-    /**
-     * Called after view and commands have been created. Subclasses
-     * can overrride this method to set focus to their own default
-     * commands.
-     */
-    protected void setDefaultCommand()
-    {
-        if (iDefaultButton != null)
-        {
-            iDefaultButton.setFocus();
-            getShell().setDefaultButton(iDefaultButton);
-        }
-    }
 }