This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 33117
Collapse All | Expand All

(-)core/output/src/org/netbeans/core/output/OutputTabTerm.java (+17 lines)
Lines 48-53 Link Here
48
import org.openide.awt.SplittedPanel;
48
import org.openide.awt.SplittedPanel;
49
import org.openide.awt.MouseUtils;
49
import org.openide.awt.MouseUtils;
50
import org.openide.actions.CutAction;
50
import org.openide.actions.CutAction;
51
import org.openide.actions.CloneViewAction;
51
import org.openide.actions.DeleteAction;
52
import org.openide.actions.DeleteAction;
52
import org.openide.actions.PasteAction;
53
import org.openide.actions.PasteAction;
53
import org.openide.actions.CopyAction;
54
import org.openide.actions.CopyAction;
Lines 224-229 Link Here
224
        InputOutput inpo = getFactory ().getIO (name, newIO);
225
        InputOutput inpo = getFactory ().getIO (name, newIO);
225
        return inpo;
226
        return inpo;
226
    }
227
    }
228
229
    /** Overridden to eliminate the clone action from the system actions.
230
     * @since 1.6
231
     */
232
    public SystemAction[] getSystemActions () {
233
        //hotfix for issue 33117
234
        SystemAction[] actions = super.getSystemActions();
235
        ArrayList al = new ArrayList(actions.length-1);
236
        for (int i=0; i < actions.length; i++) {
237
            if (!(actions[i] instanceof CloneViewAction)) {
238
                al.add (actions[i]);
239
            }
240
        }
241
        return (SystemAction[]) al.toArray(actions);
242
    }
243
227
244
228
    public static OutputWriter getStdOut() {
245
    public static OutputWriter getStdOut() {
229
        return getFactory ().getStdOut ();
246
        return getFactory ().getStdOut ();

Return to bug 33117