Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 34836 - Test registration of InplaceEditors
Test registration of InplaceEditors
Status: VERIFIED FIXED
Product: platform
Classification: Unclassified
Component: Explorer
3.x
PC Linux
: P3 (vote)
: 3.x
Assigned To: _ tboudreau
issues@platform
:
Depends on:
Blocks: 29447
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo