[
https://issues.jboss.org/browse/JBIDE-21719?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-21719:
-----------------------------------------------
This is a programmatic solution that works:
{code}
Set<String> knownViews = new HashSet<String>();
// 1. Add to the set id of views that are explicitly assigned to folders in the
perspective factory.
// ...
// 2. Add to the set id of views that are explicitly assigned to folders in perspective
extensions for this perspective.
IExtension[] es =
Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.ui.perspectiveExtensions").getExtensions();
for (IExtension e: es) {
for (IConfigurationElement c1: e.getConfigurationElements()) {
if(PERSPECTIVE_ID.equals(c1.getAttribute("targetID"))) {
for (IConfigurationElement c2: c1.getChildren("view")) {
String id = c2.getAttribute("id");
knownViews.add(id);
}
}
}
}
// 3. Now assign all other declared views to the desired folder.
es =
Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.ui.views").getExtensions();
for (IExtension e: es) {
for (IConfigurationElement c: e.getConfigurationElements()) {
if("view".equals(c.getName())) {
String id = c.getAttribute("id");
if(id != null && !knownViews.contains(id)) {
bottomRight.addPlaceholder(id);
}
}
}
}
{code}
[~maxandersen], is it good enough if nothing better is found?
Move Properties view to its previous position
---------------------------------------------
Key: JBIDE-21719
URL:
https://issues.jboss.org/browse/JBIDE-21719
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: common/jst/core
Affects Versions: 4.3.1.Beta2
Environment: JBDS 9.1.0.Beta2
JBDS 9.1.0.CR1-v20160218-0332-B322 (nightly build)
Reporter: Andrej Podhradsky
Priority: Minor
Fix For: 4.3.1.CR1
Attachments: jbds-8.1.0.GA.png, jbds-9.1.0.CR1.png,
jbds910_narrow_properties_view.png, JBossPerspective_PropertiesMayBeWider.png
I noticed that the Properties view is located at the right bottom (see the screenshot
jbds-9.1.0.CR1.png). The width of the view is not enough if we want to use it in
SwitchYard / Camel / BPMN2 editor. Please move it to the position as it was in JBDS
8.1.0.GA (jbds-8.1.0.GA.png).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)