Where can I get the View IDs of the different views in Oxygen?
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 8
- Joined: Thu Jun 17, 2021 11:58 pm
Where can I get the View IDs of the different views in Oxygen?
Hi all,
Where can I get the View IDs of the different views in Oxygen? The interface StandalonePluginWorkspace has a method to show/hide views that requires the View ID.
void showView(java.lang.String viewID, boolean requestFocus)
I have made some testing and the view IDs are really straightforward for the views below.
pluginWorkspaceAccess.showView("Outline", true);
pluginWorkspaceAccess.showView("Project", true);
pluginWorkspaceAccess.showView("Attributes", true);
pluginWorkspaceAccess.showView("Elements", true);
However, I haven't found what right view IDs are for the DITA Maps Manager and the Data Source Explorer View
// Not working
pluginWorkspaceAccess.showView("DITA Maps Manager", true);
pluginWorkspaceAccess.showView("Data Source Explorer", true);
Is there a way to figure out what the right IDs are?
Thanks in advance
Gerardo
Where can I get the View IDs of the different views in Oxygen? The interface StandalonePluginWorkspace has a method to show/hide views that requires the View ID.
void showView(java.lang.String viewID, boolean requestFocus)
I have made some testing and the view IDs are really straightforward for the views below.
pluginWorkspaceAccess.showView("Outline", true);
pluginWorkspaceAccess.showView("Project", true);
pluginWorkspaceAccess.showView("Attributes", true);
pluginWorkspaceAccess.showView("Elements", true);
However, I haven't found what right view IDs are for the DITA Maps Manager and the Data Source Explorer View
// Not working
pluginWorkspaceAccess.showView("DITA Maps Manager", true);
pluginWorkspaceAccess.showView("Data Source Explorer", true);
Is there a way to figure out what the right IDs are?
Thanks in advance
Gerardo
-
- Posts: 78
- Joined: Wed Jun 22, 2016 2:48 pm
Re: Where can I get the View IDs of the different views in Oxygen?
Post by adrian_sorop »
Hi Gerardo,
The IDs of the components (views, toolbars, etc) are available here
Ex:
Hope this helps,
Adrian S.
The IDs of the components (views, toolbars, etc) are available here
Code: Select all
ro.sync.exml.MainFrameComponentsConstants
Code: Select all
pluginWorkspaceAccess.showView(ro.sync.exml.MainFrameComponentsConstants.DITA_MAPS_MANAGER, true);
pluginWorkspaceAccess.showView(ro.sync.exml.MainFrameComponentsConstants.DATASOURCE_EXPLORER_VIEW, true);
Adrian S.
Adrian Sorop
<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