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 137621 - It´s necessary to improve type chooser in the variable´s dialog
Summary: It´s necessary to improve type chooser in the variable´s dialog
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks: 134608
  Show dependency tree
 
Reported: 2008-06-18 20:17 UTC by Nikita Krjukov
Modified: 2008-11-25 23:11 UTC (History)
0 users

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-18 20:17:46 UTC
The issue is about Variable property dialog in the BPEL editor. This dialog appears when user either create or edit a
variable. The dialog contains the tree with type chooser. It is intended to specify a type of the variable. Now the
chooser has some limitations, which has to be overcame. 

-- It´s impossible to choose a type from another projects according to projects' dependency.

-- It´s impossible to choose a type from a schema if it is imported or included to another schema. Now there are root
level schemas only. The schema node has to have the "Referenced schemas" node inside in order to provide access to such
schemas. You can see WSDL or Schema editors for example. 
It is mostly important in case, when a top level schema includes another schema which doesn't have target namespace. If
the user gos to the imported schema through the "Referenced schemas" node, then the chosen type should get the namespace
of including schema. It looks like the only way to resolve such case.

It's also suggested, but is still arguable, to get rid of the "Show Imported Files only" check-box. The chooser's tree
should show all available files. Those which isn't imported can be shown not at the root level, but be moved to the
special folder: "Not imported files".
Comment 1 Nikita Krjukov 2008-06-18 20:29:08 UTC
The new simplified implementation of the type chooser tree can be used here. 

It can be taken from the BPEL Mapper --> Type Cast
org.netbeans.modules.bpel.mapper.cast.TypeChooserTreeModel
Comment 2 Nikita Krjukov 2008-11-19 13:22:40 UTC
It was done by me recently in context of the issue 151219. 
Comment 3 ggenipudi 2008-11-25 23:11:58 UTC
Tested and verified using 11/24 build and was able to create variables from referenced schemas.