Lines 47-60
Link Here
|
47 |
import org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties; |
47 |
import org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties; |
48 |
import org.netbeans.modules.j2ee.sun.api.ServerLocationManager; |
48 |
import org.netbeans.modules.j2ee.sun.api.ServerLocationManager; |
49 |
import org.netbeans.modules.j2ee.sun.ide.j2ee.ui.DomainCreator; |
49 |
import org.netbeans.modules.j2ee.sun.ide.j2ee.ui.DomainCreator; |
50 |
import org.netbeans.modules.j2ee.sun.ide.j2ee.PluginProperties; |
|
|
51 |
import org.netbeans.modules.j2ee.sun.ide.j2ee.Utils; |
50 |
import org.netbeans.modules.j2ee.sun.ide.j2ee.Utils; |
52 |
import org.openide.modules.ModuleInstall; |
|
|
53 |
import org.openide.util.NbBundle; |
51 |
import org.openide.util.NbBundle; |
54 |
import org.openide.util.NbPreferences; |
52 |
import org.openide.util.NbPreferences; |
55 |
import org.openide.windows.WindowManager; |
|
|
56 |
|
53 |
|
57 |
public class Installer extends ModuleInstall { |
54 |
public class Installer { |
58 |
|
55 |
|
59 |
private static DeploymentFactory facadeDF = null; |
56 |
private static DeploymentFactory facadeDF = null; |
60 |
private static DeploymentFactory facadeDFGlassFishV1 = null; |
57 |
private static DeploymentFactory facadeDFGlassFishV1 = null; |
Lines 106-115
Link Here
|
106 |
} |
103 |
} |
107 |
return facadeDFJavaEEPlusSIP; |
104 |
return facadeDFJavaEEPlusSIP; |
108 |
} |
105 |
} |
109 |
|
|
|
110 |
@Override public void restored() { |
111 |
//WindowManager.getDefault().invokeWhenUIReady(new PrepareEnvironment()); |
112 |
} |
113 |
|
106 |
|
114 |
private static class PrepareEnvironment implements Runnable { |
107 |
private static class PrepareEnvironment implements Runnable { |
115 |
public void run() { |
108 |
public void run() { |