Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Perspective Minimize/Maximize problem (Perspective Minimize Maximize problem)
Perspective Minimize/Maximize problem [message #1011841] Wed, 20 February 2013 05:48 Go to previous message
Alain Artouste is currently offline Alain Artouste
Messages: 17
Registered: October 2010
Junior Member
Hello,

I tried Mininize/Maximize on parts in a perspective in a project and It works fairly well.

BUT, when I split in 2 projects, an root application project and another project containing perspective and other stuff thru a fragment file, I obtain an erratic behavior.
Run the application, Minimize a part, close the application.
Run again the application, the part appears twice one in a minimized aspect and one in a restored aspect and the behavior of part when restoring the minimized part is totally erratic.

Is it an error from how I make a reference to the application in the fragment file, or is it a bug?
I use featurename="children" and parentElementId="perspectiveTestApplication.trimmed.window" to make a reference to the root application.
Below an excerpt of the fragment.e4xmi file:
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="xxx" featurename="children" parentElementId="perspectiveTestApplication.trimmed.window">
    <elements xsi:type="advanced:PerspectiveStack" xmi:id="xxx" elementId="perspectiveStack">
      <children xsi:type="advanced:Perspective" xmi:id="xxx" elementId="">
        <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="" horizontal="true">
          <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="25">
            <children xsi:type="basic:Part" xmi:id="xxx" elementId="Navigator" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Navigator" label="Navigator" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_NAVIGATOR.png"/>
          </children>
          <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="" containerData="75" horizontal="true">
            <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="perspectiveteste4.partsashcontainer.0" containerData="70">
              <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="75">
                <children xsi:type="basic:Part" xmi:id="xxx" elementId="Editor" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Editor" label="Editor" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_EDITOR.png"/>
              </children>
              <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="25">
                <children xsi:type="basic:Part" xmi:id="xxx" elementId="Console" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Console" label="Console" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_CONSOLE.png"/>
              </children>
            </children>
            <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="30">
              <children xsi:type="basic:Part" xmi:id="xxx" elementId="Outline" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Outline" label="Outline" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_OUTLINE.png"/>
            </children>
          </children>
        </children>
      </children>
    </elements>
  </fragments>



I join a ZIP file containing 3 projects:
- PerspectiveTest all in one project: It works fairly well.
- PerpectiveApplication and PerspectiveE4 = Erratic behavior.


Environment: Eclipse 4.2.1 and Eclipse 4.3M5.

Best regards
Alain
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Howto get defining Bundle from an Addon in Fragment?
Next Topic:Dynamic menu with MHandledMenuItem
Goto Forum:
  


Current Time: Fri May 24 07:22:51 EDT 2013

Powered by FUDForum. Page generated in 0.01726 seconds