How to make this MyWorkspaceAccessPluginExtension as singleton
Posted: Tue May 04, 2021 11:17 am
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