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.
Summary: | Design pattern can be applied to a read-only schema | ||
---|---|---|---|
Product: | xml | Reporter: | Andrei Chistiakov <ca-nb> |
Component: | Schema Tools | Assignee: | Ayub Khan <ayubskhan> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | htt, ivansidorkin, kozlov |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Andrei Chistiakov
2006-09-19 13:46:55 UTC
The ADP action should be disabled if the XAMUI.isEditable returns false. Fixed for ADP Files changed: /cvs/xml/schema/core/src/org/netbeans/modules/xml/schema/core/actions/Attic/SchemaTransformAction.java,v <-- SchemaTransformAction.java new revision: 1.1.2.9; previous revision: 1.1.2.8 Girish, Design view should disable "Add" action for readonly schema. We have to check other places too, property sheet. Fixed ADP, now uses XAMUtils.isWritable() /xml/schema/core/src/org/netbeans/modules/xml/schema/core/actions/Attic/SchemaTransformAction.java, new revision: 1.1.2.10; previous revision: 1.1.2.9 Fix from Apply design pattern is enough for this bug. There is already a bug regarding Design view and property allowing to edit components from other schema. So closing this bug as fixed. Verified in build 060919_1. |