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 137943 - Differentiate a schema from an embedded schema
Summary: Differentiate a schema from an embedded schema
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 10:37 UTC by Nikita Krjukov
Modified: 2009-07-30 13:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2008-06-23 10:37:38 UTC
Now there isn't a simple way to understand if a schema is embedded or not. I suggest to add a method like isEmbedded()
to the Schema interface. Or maybe it worth to introduce a new interface for the Embedded schemas. The awareness is
required for creating a display name. The embedded schema can't be identified by the file name. But the ordinary schema
can.
Comment 1 Sergey Lunegov 2008-11-21 14:15:07 UTC
Sam, we'd like this one to be implemented in 7.0.
Comment 2 Samaresh Panda 2008-12-05 01:12:47 UTC
Creating a display name of what? I mean where do you need this in the UI? I mean is there a way I see the issue on my side?
Comment 3 Samaresh Panda 2009-01-14 19:17:25 UTC
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=46e276cf7069.

isEmbedded() added in SchemaModel. It returns true for embedded schemas and false in all other cases.
Comment 4 Quality Engineering 2009-01-16 07:22:51 UTC
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/46e276cf7069
User: samaresh@netbeans.org
Log: #137943 : Differentiate a schema from an embedded schema
Comment 5 Sergey Lunegov 2009-07-30 13:52:58 UTC
Nikita, please verify.