Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Positioning of multi instance jface view in editor area
Positioning of multi instance jface view in editor area [message #1861721] Mon, 30 October 2023 18:29
Harish M is currently offline Harish MFriend
Messages: 3
Registered: August 2023
Junior Member
For my use case, I have configured JFace view in plugin.xml to allow multiple instances. I am trying to open view like this in my handler class. I can able to open multiple instances but not in expected position.

PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("pId", "sId", IWorkbenchPage.VIEW_ACTIVATE);

and configured in perspective extension like this.
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="perspectiveId">
<view
closeable="true"
id="viewId"
minimized="false"
relationship="stack"
relative="org.eclipse.ui.editorss"
visible="false">
</view>

This view always opens next to console view which is located at bottom instead of editor area. I want this view to be stacked to editor area which should open multiple instances of same view next to each other. Please let me know if I am missing something here.

Thanks in advance.
Previous Topic:Always visible perspective UI control?
Next Topic:Application could not be found in the registry.
Goto Forum:
  


Current Time: Sun Oct 13 04:36:21 GMT 2024

Powered by FUDForum. Page generated in 0.02808 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top