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.

Bug 29379

Summary: Make OutputTabTerm cloneable
Product: cnd Reporter: Jesse Glick <jglick>
Component: TerminalemulatorAssignee: _ tboudreau <tboudreau>
Status: CLOSED WONTFIX    
Severity: blocker CC: kosherjava
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 26321    

Description Jesse Glick 2002-12-06 18:47:37 UTC
I.e. implement TopComponent.Cloneable, so the user
can select Clone View etc.

Not trivial, since it seems that the TopComponent
here includes a lot of stuff in the actual data
model (text which has been printed), which is
ugly. Proper model-view separation would store the
entire model as a separate class somewhere,
including some methods of InputOutput involving
the I/O streams and closed status; and the
TopComponent view would handle the display only.
Then you could easily clone it by just making a
new view over the same model.
Comment 1 Jesse Glick 2002-12-06 18:48:28 UTC
Currently prevents one implementation of full-screen mode from working
with Output Window tabs. Other implementations might not require
cloneability however.
Comment 2 _ tboudreau 2003-04-28 11:04:22 UTC
FWIW, I just removed the Clone View action from OutputTabTerm to
fix another issue.  IMO cloning the output window is a bad idea - 
useless for the user, potentially inefficient if used programmatically
for things like full screen mode.  The output window is for transient
output.  I can't think of any use case for needing a duplicate
that would not indicate a UI design problem somewhere else.

Surely it must be possible to implement full screen mode using the
original output window component - just dock it someplace else.
Comment 3 Marian Mirilovic 2003-07-28 15:47:34 UTC
Tim is right - verifying, closing.
Comment 4 Quality Engineering 2008-12-23 08:39:10 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.