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 36138 - [2003-10-23] Implement behaviour when loading userdir or modules with older version of XML layer
Summary: [2003-10-23] Implement behaviour when loading userdir or modules with older v...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 32217 (view as bug list)
Depends on: 36268
Blocks: 36732
  Show dependency tree
 
Reported: 2003-09-16 17:32 UTC by Peter Zavadsky
Modified: 2008-12-22 16:45 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2003-09-16 17:32:30 UTC
It is necessary to define "what to do with the
older XML layers" if appears.
Generaly it seems that it should be sufficient
load just the TopComponents into the new default
modes and open it or not (..and wait whether the
client code will do that)
Comment 1 mslama 2003-10-23 15:51:53 UTC
Simple versioin of import is implemented: 
1.If imported TC is defined in mode existing in new layout TC is
placed to this mode.
2.If imported TC is defined in unknown mode TC is placed to editor mode.
if editor mode is not defined TC is placed to first available mode. If
there is no mode defined in new layout import fails.

TBD: Handling of disabling/enabling modules. When module is disabled
its TCs must be removed and localy stored wstcref must be deleted.
When module is enabled import of added TCs must be performed. See task
#36798.
Comment 2 Peter Zavadsky 2003-10-24 14:43:17 UTC
*** Issue 36798 has been marked as a duplicate of this issue. ***
Comment 3 mslama 2003-11-04 16:57:34 UTC
*** Issue 32217 has been marked as a duplicate of this issue. ***