Home » Eclipse Projects » Eclipse 4 » PartSashContainer as child of PartStack
| |
Re: PartSashContainer as child of PartStack [message #759386 is a reply to message #759247] |
Mon, 28 November 2011 14:11 |
Christian Eugster Messages: 213 Registered: July 2009 Location: St. Gallen Switzerland |
Senior Member |
|
|
@Brian
thank you for answering! Where do I find information about extending the model by elements? I found in a presentation by tom schindl a class diagram that shows, that both, MSashForm and MStack, inherit from MPart. But it is impossible to ad a sashcontainer to a stack in the current version of e4. Why?
I try to explain my question in english
My application is a hotline tool, where the parent sash contains on the left a component with filtered customers listed, while on the right a huge amount of detailed information about the selected customer ist shown. This information is organized hierarchically, the right part of the sash has several PartStacks, each of them has a sash, which shows a list in the right (or top) part and likely another partStack containing sashes for more detailed information.
The attached image shows an example: a sash with a partstack on the right containing several parts (Hotline, Kontakt, ComelivresNet, Software, Hardware, Benutzerdaten, Dokumente), showing currently the part Hardware, which in turn contains of a sash with a list (of Hardware) on the left and a partstack to the right with parts (Allgemein, Kundenspezifisch, Notizen, Details). Each of them could contain another sash AND SO ON...
I hope this is clear enough to understand. What do you thing about that?
Thank you!
-
Attachment: imshot.jpg
(Size: 129.96KB, Downloaded 439 times)
[Updated on: Mon, 28 November 2011 14:26] Report message to a moderator
|
|
|
Re: PartSashContainer as child of PartStack [message #759393 is a reply to message #759386] |
Mon, 28 November 2011 14:38 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
Looks like the image didn't made it through. Just as a small side note
you can naturally use DI inside your part as well just like you used it
when the defining the Part-Class.
Which advantages do you think you would gain when a PartStack would
allow to be split into Sashes?
If we can find a usecase we could consider such a feature for Eclipse 4.3.
Tom
Am 28.11.11 15:11, schrieb Christian Eugster:
> Ok I try to explain it in english :roll:
> My application is a hotline tool, where the parent sash contains on the
> left a filtered customers ar listed while on the right a huge amount of
> detailed information about the selected customer ist shown. This
> information is organized hierarchically, the right part of the sash has
> several PartStacks, each of them has a sash, which shows a list in the
> right (or top) part and likely another partStack containing sashes for
> more detailed information.
>
> The attached image shows an example: a sash with a partstack on the
> right containing several parts (Hotline, Kontakt, ComelivresNet,
> Software, Hardware, Benutzerdaten, Dokumente), showing currently the
> part Hardware, which in turn contains of a sash with a list (of
> Hardware) on the left and a partstack to the right with parts
> (Allgemein, Kundenspezifisch, Notizen, Details). Each of them could
> contain another sash AND SO ON...
> I hope this is clear enough to understand. What do you thing about that?
>
> Thank you!
|
|
|
Re: PartSashContainer as child of PartStack [message #759409 is a reply to message #759393] |
Mon, 28 November 2011 15:22 |
Christian Eugster Messages: 213 Registered: July 2009 Location: St. Gallen Switzerland |
Senior Member |
|
|
Hi Tom,
maybe there is a misunderstanding? I would like to add PartSashContainers as child elements (Parts) to a PartStack. In the model editor it is possible to do that. But when I run the example, I get an exception saying "The added object 'org.eclipse.e4.ui.model.application.ui.basic.impl.PartSashContainerImpl@10aefdb is not assignable to 'org.eclipse.e4.ui.model.application.ui.basic.MStackElement' (see stacktrace below):
!SESSION 2011-11-28 16:17:02.908 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Framework arguments: -product ch.eugster.ims.core.product
Command-line arguments: -product ch.eugster.ims.core.product -data C:\Dokumente und Einstellungen\ceugster\Projekte\Ims\Workspace/../runtime-ch.eugster.ims.core.product -dev file:C:/Dokumente und Einstellungen/ceugster/Projekte/Ims/Workspace/.metadata/.plugins/org.eclipse.pde.core/ch.eugster.ims.core.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console
!ENTRY org.eclipse.e4.ui.workbench 4 0 2011-11-28 16:17:12.151
!MESSAGE
!STACK 0
java.lang.IllegalArgumentException: The added object 'org.eclipse.e4.ui.model.application.ui.basic.impl.PartSashContainerImpl@10aefdb (elementId: null, tags: null, contributorURI: null) (widget: null, renderer: null, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (horizontal: true)' is not assignable to 'org.eclipse.e4.ui.model.application.ui.basic.MStackElement'
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl$1.validate(ElementContainerImpl.java:114)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl$1.validate(ElementContainerImpl.java:1)
at org.eclipse.emf.common.util.BasicEList.addAllUnique(BasicEList.java:514)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddAllUnique(NotifyingListImpl.java:506)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:478)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:406)
at org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:374)
at org.eclipse.e4.ui.model.internal.ModelUtils.merge(ModelUtils.java:124)
at org.eclipse.e4.ui.model.fragment.impl.StringModelFragmentImpl.merge(StringModelFragmentImpl.java:288)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:163)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:246)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:353)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:217)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:132)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
at org.eclipse.equinox.launcher.Main.main(Main.java:1407)
!ENTRY org.eclipse.osgi 4 0 2011-11-28 16:17:12.231
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
at org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
at org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
at org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.<init>(E4Workbench.java:77)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:295)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:132)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
at org.eclipse.equinox.launcher.Main.main(Main.java:1407)
|
|
|
Re: PartSashContainer as child of PartStack [message #759411 is a reply to message #759409] |
Mon, 28 November 2011 15:31 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Which model editor allows that? If it is the Form-Based editor this
would be a bug because MPartStack from the Ecore-Model PoV this is
invalid but because of the type erasue in Java when it comes to generics
this is possible (though we once protected against this already).
Tom
Am 28.11.11 16:22, schrieb Christian Eugster:
> Hi Tom,
>
> maybe there is a misunderstanding? I would like to add
> PartSashContainers as child elements (Parts) to a PartStack. In the
> model editor it is possible to do that. But when I run the example, I
> get an exception saying "The added object
> mailto:'org.eclipse.e4.ui.model.application.ui.basic.impl.PartSashContainerImpl@10aefdb
> is not assignable to
> 'org.eclipse.e4.ui.model.application.ui.basic.MStackElement' (see
> stacktrace below):
>
> !SESSION 2011-11-28 16:17:02.908
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_22
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
> Framework arguments: -product ch.eugster.ims.core.product
> Command-line arguments: -product ch.eugster.ims.core.product -data
> C:\Dokumente und
> Einstellungen\ceugster\Projekte\Ims\Workspace/../runtime-ch.eugster.ims.core.product
> -dev file:C:/Dokumente und
> Einstellungen/ceugster/Projekte/Ims/Workspace/.metadata/.plugins/org.eclipse.pde.core/ch.eugster.ims.core.product/dev.properties
> -os win32 -ws win32 -arch x86 -consoleLog -console
>
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2011-11-28 16:17:12.151
> !MESSAGE !STACK 0
> java.lang.IllegalArgumentException: The added object
> mailto:'org.eclipse.e4.ui.model.application.ui.basic.impl.PartSashContainerImpl@10aefdb
> (elementId: null, tags: null, contributorURI: null) (widget: null,
> renderer: null, toBeRendered: true, onTop: false, visible: true,
> containerData: null, accessibilityPhrase: null) (horizontal: true)' is
> not assignable to
> 'org.eclipse.e4.ui.model.application.ui.basic.MStackElement'
> at
> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl$1.validate(ElementContainerImpl.java:114)
>
> at
> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl$1.validate(ElementContainerImpl.java:1)
>
> at
> org.eclipse.emf.common.util.BasicEList.addAllUnique(BasicEList.java:514)
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddAllUnique(NotifyingListImpl.java:506)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:478)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:406)
>
> at
> org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:374)
> at
> org.eclipse.e4.ui.model.internal.ModelUtils.merge(ModelUtils.java:124)
> at
> org.eclipse.e4.ui.model.fragment.impl.StringModelFragmentImpl.merge(StringModelFragmentImpl.java:288)
>
> at
> org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:163)
>
> at
> org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:246)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:353)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:217)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:132)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1407)
>
> !ENTRY org.eclipse.osgi 4 0 2011-11-28 16:17:12.231
> !MESSAGE Application error
> !STACK 1
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.emf.ecore.util.EContentAdapter.addAdapter(EContentAdapter.java:352)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:225)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.setTarget(EContentAdapter.java:188)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:503)
>
> at
> org.eclipse.emf.ecore.impl.MinimalEObjectImpl$1ArrayDelegatingAdapterList.didAdd(MinimalEObjectImpl.java:1)
>
> at
> org.eclipse.emf.common.util.ArrayDelegatingEList.addUnique(ArrayDelegatingEList.java:395)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.<init>(E4Workbench.java:77)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:295)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:132)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1407)
>
|
|
| | | | |
Re: PartSashContainer as child of PartStack [message #1264609 is a reply to message #1264603] |
Wed, 05 March 2014 10:57 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
This is possible in 4.4 milestones if you want that in 4.3 you have to
backport it yourself and contribute your own renderering.
Tom
On 05.03.14 11:52, Luis Fernando Robledano-Esteban wrote:
> Completely agree that it is "necessary".
> On the users perspective (the one which in the end matters :p ):
> -I have a set of Tabs (id. a PartStack), each of them containing a
> things that can be re-sized.
>
> Example:
> Imagine a MS-Project look a like tool: left side the tasks list
> (TreeView), right hand side the Gantt (Nebula).
> Great, I did it with a PartSash Conatiner.
> Now , I want to have more projects simultaneously, each of them in a
> separate Tab.
> The easy solution: Put the Part Sash container, which I already did, in
> a Newly inserted PartStack and done.
> Well it doesn't work like that because a Part Stack (or for that matter
> a Part) cannot contain a Part Sash Container.
>
> What are the alternatives?
>
> Thanks,
> luis
> (Im using Eclipse4.3 Kepler)
>
|
|
| | | | | | | | | |
Goto Forum:
Current Time: Wed Sep 25 15:00:22 GMT 2024
Powered by FUDForum. Page generated in 0.27409 seconds
|