[JBoss JIRA] (JBIDE-21719) Move Properties view to its previous position
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21719?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21719:
-----------------------------------------------
It would be very nice if something like this would work:
{code}
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.jboss.tools.common.ui.JBossPerspective">
<view
id="*"
relationship="stack"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
</extension>
{code}
but it does not. Unfortunately, Eclipse does not allow wild card for id name.
> 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)
10 years, 1 month
[JBoss JIRA] (JBIDE-21719) Move Properties view to its previous position
by Viacheslav Kabanovich (JIRA)
[ 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)
10 years, 1 month
[JBoss JIRA] (JBIDE-21791) Forge addon - Changing the current file may cause a "file has changed in file vs memory" issue in Eclipse
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21791?page=com.atlassian.jira.plugi... ]
George Gastaldi updated JBIDE-21791:
------------------------------------
Labels: new_and_noteworthy (was: )
> Forge addon - Changing the current file may cause a "file has changed in file vs memory" issue in Eclipse
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21791
> URL: https://issues.jboss.org/browse/JBIDE-21791
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.3.1.Beta2
> Reporter: Claus Ibsen
> Assignee: George Gastaldi
> Labels: new_and_noteworthy
> Fix For: 4.3.1.CR1
>
> Attachments: eclipse-add.png
>
>
> Similar problem as FORGE-2605 but this time its in Eclipse.
> See the attached screenshot, where I have edited the file camel-context.xml, and then run my forge command, which would insert a Camel endpoint at the cursor position. But eclipse has detected a file conflict as in that dialog.
> I wonder if the fix should be like in IDEA to save the file before the command is run.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (JBIDE-21719) Move Properties view to its previous position
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21719?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-21719:
-----------------------------------------------
It may be the default behaviour of Eclipse to put views that are not assigned to a place to the most lower right place. I will look if there is a way to define the 'default' place for a perspective.
> 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)
10 years, 1 month