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 23162

Summary: Create non-persistent Mode in OpenIDE
Product: platform Reporter: _ hair <hair>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: VERIFIED WONTFIX    
Severity: blocker Keywords: API, ARCH
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
URL: http://openide.netbeans.org/servlets/ReadMsg?msgId=314497&listName=dev
Issue Type: ENHANCEMENT Exception Reporter:

Description _ hair 2002-05-06 13:37:12 UTC
In WorkspaceImpl there is a method:
createMode(name, displayName, icon, userDefined);
that allows a userDefined mode to be created that
will not be persistent.
But in the OpenIDE there is no method to achieve this.

Can this method be added to Workspace's Interface.

An example (see URL), 
would be instead of leaving the Mode creation to
the TC [via tc.open() creating a userDefined Mode], 
the developer wishes to workspace.createMode(), 
to modify the mode before it is opened, 
ie mode.setBounds(..); 
Now the Mode is persistent (not userDefined)
without the developer wanting the serialise
behaviour change.
Comment 1 David Simonek 2002-05-06 13:53:02 UTC
Mike the Hair, could I mark this issue as enhancement rather then
defect? Thanks.
Comment 2 Marek Grummich 2002-07-22 11:20:26 UTC
Set target milestone to TBD
Comment 3 Marek Grummich 2002-07-22 11:22:43 UTC
Set target milestone to TBD
Comment 4 David Simonek 2002-07-22 16:00:42 UTC
passing to winsys guys and marking with architecture keyword.
Comment 5 Peter Zavadsky 2002-07-25 14:09:53 UTC
What is "non-peristent" mode? What should happen if I put persistent
component into it (is then the mode persistent or not?).
Comment 6 mslama 2002-08-05 17:53:40 UTC
Passing to new owner
Comment 7 David Simonek 2005-05-02 16:29:40 UTC
I hope this enh is obsolete and not needed now, as TopComponent has the method
to be not serialized, it should be enough. For modes, ideally client programmer
should not worry about them. Closing as wontfix.
Please reopen or preferably enter new issue if you have some specific use case
which is still not possible to achieve, thx.
Comment 8 _ hair 2006-07-05 18:58:08 UTC
verified or just very old
Comment 9 Quality Engineering 2008-12-23 14:26:46 UTC
This issue had *3 votes* before move to platform component