get parent frame
Oxygen general issues.
-
- Posts: 27
- Joined: Tue Nov 17, 2009 10:16 pm
get parent frame
Post by guna@ebscohost.com »
Hi,
We have a plugin that implements URLChooserToolbarExtension and URLChooserPluginExtension.
when using this plugin. we open a Java dialog and the dialog displays in a separated window. but we don't want it this way.
we want parent frame context, like framework. so can you guide us how to implement this.
example, when we create dialog with framework, we have used
(Frame) authorAccess.getWorkspaceAccess().getParentFrame()
i want similar that goes with URL CHooser plugins.
Thanks
Guna
We have a plugin that implements URLChooserToolbarExtension and URLChooserPluginExtension.
when using this plugin. we open a Java dialog and the dialog displays in a separated window. but we don't want it this way.
we want parent frame context, like framework. so can you guide us how to implement this.
example, when we create dialog with framework, we have used
(Frame) authorAccess.getWorkspaceAccess().getParentFrame()
i want similar that goes with URL CHooser plugins.
Thanks
Guna
Re: get parent frame
Hi Guna,
You can use:
to iterate through all created frames and look for the one that
Regards,
Radu
You can use:
Code: Select all
JFrame.getFrames();
Code: Select all
isShowing();
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service