How to make this MyWorkspaceAccessPluginExtension as singleton
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
How to make this MyWorkspaceAccessPluginExtension as singleton
Post by vishwavaranasi »
Hello Team ,
We already have a Workspace plugin, MyWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension
and we have added
// add a View to the StandalonePluginWorkspace
pluginWorkspaceAccess.addViewComponentCustomizer(new ViewComponentCustomizer() {
/*created JPanel and added JButtons for different functions that we have implemented */
}
now question is
How to make this MyWorkspaceAccessPluginExtension as singleton , i mean when we click any one button from the ViewComponent , the user should not allow to click any other buttons.
your help on this much appreciated.
Thanks,
vishwa
We already have a Workspace plugin, MyWorkspaceAccessPluginExtension implements WorkspaceAccessPluginExtension
and we have added
// add a View to the StandalonePluginWorkspace
pluginWorkspaceAccess.addViewComponentCustomizer(new ViewComponentCustomizer() {
/*created JPanel and added JButtons for different functions that we have implemented */
}
now question is
How to make this MyWorkspaceAccessPluginExtension as singleton , i mean when we click any one button from the ViewComponent , the user should not allow to click any other buttons.
your help on this much appreciated.
Thanks,
vishwa
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to make this MyWorkspaceAccessPluginExtension as singleton
Hi,
I'm afraid I do not understand. Maybe you can give me an example.
Maybe you can add a field to the "MyWorkspaceAccessPluginExtension" class which points to your custom panel implementation or keep all buttons as fields of the MyWorkspaceAccessPluginExtension class.
Regards,
Radu
I'm afraid I do not understand. Maybe you can give me an example.
Maybe you can add a field to the "MyWorkspaceAccessPluginExtension" class which points to your custom panel implementation or keep all buttons as fields of the MyWorkspaceAccessPluginExtension class.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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