Currently we have some implementation of Hyperlink
property editor in debugger. But current support
for PropertyEditors in OpenIDE is little bit
restrictive, so we can not make a really good
impl. The main problem is that we can not redefine
"read" state of PE (something like
Set target milestone to TBD
*** Issue 11821 has been marked as a duplicate of this issue. ***
reassigning to Tim as property editor's owner
Please clarify what you need to do here. I do not entirely understand
the "When the keyboard focus is on a cell with a hyperlink" text in
issue 24758. What cell in what component?
Is the issue that the editor component is not constructed until focus
is set to it, or something else? Is it a use case of PropertySheet
I think this will be more possible with the propertysheet rewrite
(editors will be able to receive and respond to the key/mouse event
that instantiated them if they need to), but I'm still not sure what
you're trying to do.
The best way to implement this would be to add a hook method to the
InplaceEditor interface in the propertysheet rewrite, or a hint that
clicking on a property in the values column should call some method,
rather than instantiate the inline editor component. If this is
really needed, you should let me know soon, as InplaceEditor will
become API in a few weeks.
However, I still don't understand the use case. It seems like you
want to be able to open a browser from a hyperlink in a property
value? What are you trying to do? I'm tempted to close this issue
as wontfix, since it seems way out of scope for a property sheet.
Let me know, soon, why such functionality would be useful.
Or do you just want a better custom editor for URLs? If so, this
sounds like a duplicate of issue 6024. Let me know.
What I need is the Hyperlink property editor look exactly as in
Internet Exporer: blue underlined text, different mouse icon, and when
you click on it the color is changed to red.
When you click on it some method should be called. I am not able to
implement it correctly using current support - see debugger window
Watches view - type of some variable.
Wow, that's pretty weird.
I don't think such a property editor belongs in core
or openide. I assume you're using PropertyPanel, not
PropertySheet. Opening a browser when someone clicks a
property in the property sheet would be weird and
Once the new property sheet is integrated, and I finish
rewriting PropertyPanel to use its rendering/editing
infrastructure, you will be able to do the following,
which will solve the problem:
- Create a custom hyperlink ExPropertyEditor
- Create a custom Inplace editor implementing the
- Have your property editor call the new
registerInplaceEditor method on the PropertyEnv
- Return isPaintable=true, and paint an instance
of the inplace editor from the property editor's
- Let your inplace editor respond to mouse clicks however
you want. Override
InplaceEditor.handleInitialInputEvent() to get the
mouse click event that instantiated the editor, and
process it by opening the URL.
I'm reassigning this to debugger - as far as I can tell,
there are no use cases of this functionality outside the
debugger module, and it would do more harm than good in
WONTFIX - the hyperlinks are not needed IMHO.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.