alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*
 * RemoveIntanceAction.java
 *
 * Created on September 23, 2003, 10:42 AM
 */

package org.netbeans.modules.j2ee.deployment.impl.ui.actions;

import org.openide.util.actions.*;
import org.openide.actions.*;
import org.openide.nodes.*;
import org.openide.util.HelpCtx;
import org.netbeans.modules.j2ee.deployment.impl.*;
import org.netbeans.modules.j2ee.deployment.impl.ui.*;
import org.openide.NotifyDescriptor;
import org.openide.util.NbBundle;
import org.openide.DialogDisplayer;

/**
 *
 * @author  nn136682
 */
public class RemoveInstanceAction extends CookieAction {
    
    /** Creates a new instance of RemoveIntanceAction */
    public RemoveInstanceAction() {
    }
    
    protected Class[] cookieClasses() {
        return new Class[] { ServerInstance.class };
    }
    
    public org.openide.util.HelpCtx getHelpCtx() {
        //PENDING:
        return HelpCtx.DEFAULT_HELP;
    }
    
    public String getName() {
        return org.openide.util.NbBundle.getMessage(RemoveInstanceAction.class, "LBL_Remove");
    }
    
    protected void performAction(org.openide.nodes.Node[] nodes) {
        for (int i=0; i
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.