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 34836 - Test registration of InplaceEditors
Summary: Test registration of InplaceEditors
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks: 29447
  Show dependency tree
 
Reported: 2003-07-09 16:29 UTC by Jaroslav Tulach
Modified: 2008-12-22 22:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2003-07-09 16:29:49 UTC
Please write a test to check following contract
from documentation:

Standard implementations of this interface for
text entry, combo boxes and checkboxes are
provided by the property sheet infrastructure.
There are several ways to provide a custom inplace
editor for use in the property sheet:

    * Globally - a module supplying a property
editor for a given class may call
PropertyEnv.registerInplaceEditorFactory(InplaceEditor.Factory).
When the user invokes an editor operation, the
returned inplace editor will be used.
    * On a per-property basis - A Node.Property
may provide a custom inplace editor via hinting.
To do this, the Node.Property instance should
return an instance of InplaceEditor from getValue
("inplaceEditor")

If both methods are used on the same property, the
inplace editor provided by the per-property hint
takes precedence.
Comment 1 _ tboudreau 2003-07-14 14:55:28 UTC
Done.
Comment 2 Jaroslav Tulach 2003-07-15 09:02:08 UTC
Probably CustomEditorInplaceTest, I guess.