Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 34836

Summary: Test registration of InplaceEditors
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: ExplorerAssignee: _ tboudreau <tboudreau>
Status: VERIFIED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P3    
Version: 3.x   
Target Milestone: 3.x   
Hardware: PC   
OS: Linux   
Whiteboard:
Issue Type: DEFECT Exception Report:
Bug Depends on:    
Bug Blocks: 29447    

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