Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Tigerstripe » issues modeling a class diagram
issues modeling a class diagram [message #9725] Tue, 06 May 2008 16:40 Go to next message
Eclipse UserFriend
Originally posted by: gilles2.moreau.orange-ftgroup.com

Hi,

sorry for my misknowledge but i am having some issues with the class
diagram editor !

Using this tutorial
(http://wiki.eclipse.org/Tigerstripe_Class_Diagram_Tutorial), I tried to
drag and drop an entity artifact with attributes and methods to the class
diagram ! I then got a "NoClassDefFound " exception ! I saw a
representation of my entity on the diagram with no name ! once i deleted
it an other entity appeared with the correct name but without its
attributes or methods!

I decided to try to use the palette ! and adding an entity artifact to the
diagram had no effect !!

Am i doing something wrong ?

Thanks,
Gilles
Re: issues modeling a class diagram [message #9734 is a reply to message #9725] Tue, 06 May 2008 18:00 Go to previous messageGo to next message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
Hi Gilles,

Something is wrong here, as this is one of the most basic functionalities
:-).

Ok, so:
1. You created yourself a Tigerstripe Project in your workspace. (the "P"
orange button in the toolbar).
2. You right-clicked on that project (from the Tigerstripe Explorer, as the
Tigerstripe perspective should have been brought up upon project creation
above), to create a new Class Diagram. Anywhere in that project really.
3. First let's try from the palette. You should be able to just select one
of the artifacts types from the right handside, and click anywhere in the
blank diagram to create an artifact. It should prompt you for a name.
4. The src/ folder in the explorer contains your model. You should be able
to expand the folder and see the artifact you just created.
5. Right-click on the package to create another artifact thru a wizard. It
will appear in the package.
6. you can drag that new artifact onto the diagram.

This is the most basic scenario.

If you can't get this to work, something is wrong in your install. The reqs
are:
- Eclipse 3.3.x
+ a number of required plugins. You can look it up under "Build
Dependencies" in the 0.3M0 build posted on
http://www.eclipse.org/tigerstripe/downloads.

The easiest way to ensure you've got them all is to download the
"bundle-tigerstripe-workbench-0.3M0-incubation.zip" file which contains not
only the tigerstripe-specific plugins, but all the required ones as we used
them to build the .zip.

If this is still not it, please take a look at the Error Log (Window->Show
View->Error Log), and let me know if you see any suspicious exception, and
if so, cut'n paste it here.

Hopefully, we can get you started quickly. Sorry for the inconvenience.

Eric


On 5/6/08 9:40 AM, in article
f874aa91fd94c5036821dc4561514a62$1@www.eclipse.org, "gilles moreau"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi,
>
> sorry for my misknowledge but i am having some issues with the class
> diagram editor !
>
> Using this tutorial
> (http://wiki.eclipse.org/Tigerstripe_Class_Diagram_Tutorial), I tried to
> drag and drop an entity artifact with attributes and methods to the class
> diagram ! I then got a "NoClassDefFound " exception ! I saw a
> representation of my entity on the diagram with no name ! once i deleted
> it an other entity appeared with the correct name but without its
> attributes or methods!
>
> I decided to try to use the palette ! and adding an entity artifact to the
> diagram had no effect !!
>
> Am i doing something wrong ?
>
> Thanks,
> Gilles
>
Re: issues modeling a class diagram [message #9805 is a reply to message #9734] Wed, 07 May 2008 13:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilles2.moreau.orange-ftgroup.com

Hi Eric,

First of all, many thanks for answering so fast to my post !

Let's talk about my installation !
Well, i downloaded the big bundle with all additionnal plugins ! While
overwriting my eclipse (3.3.2) install directory, i reveived warnings
telling me that some of the files already existed in the directory ! I
overwrote them all !

After this, when launching eclipse, and opening tigerstripe perspective, i
was able to create new projets, add new class diagrams !

So, I restarted my installation from the beginning ! and when using the
palette and trying to add an entity artifact to my diagram, I got this in
the Error View "Unhandled event loop exception"
java.lang.NoClassDefFoundError
at
org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.getRequestFactory(ModelUpdaterImpl.java:57)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.makeArt ifactCreateRequest(QualifiedNamedElementETAdapter.java:175)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etPackage(QualifiedNamedElementETAdapter.java:234)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etNotification(QualifiedNamedElementETAdapter.java:107)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.notifyC hanged(QualifiedNamedElementETAdapter.java:63)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementImpl.setPackage(QualifiedNamedElementImpl.ja va:142)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.TigerstripeBaseItemSemanticEditPolicy.setDefault s(TigerstripeBaseItemSemanticEditPolicy.java:205)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.MapItemSemanticEditPolicy$CreateManagedEntityArt ifact_1003Command.doExecuteWithResult(MapItemSemanticEditPol icy.java:262)
at
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:246)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:137)
at
org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCo mmand.doExecuteWithResult(SemanticCreateCommand.java:70)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:205)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:168)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:155)
at
org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTo ol.java:388)
at
org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(Abs tractTool.java:400)
at
org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.perfor mCreation(CreationTool.java:133)
at
org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTo ol.java:178)
at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java :1053)
at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259)
at
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Released(DomainEventDispatcher.java:374)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Li ghtweightSystem.java:538)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:206)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.pde.internal.runtime.logview.EventDetailsDialog. open(EventDetailsDialog.java:184)
at
org.eclipse.pde.internal.runtime.logview.EventDetailsDialogA ction.run(EventDetailsDialogAction.java:91)
at
org.eclipse.pde.internal.runtime.logview.LogView$12.doubleCl ick(LogView.java:394)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:799)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.java:797)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSel ect(AbstractTreeViewer.java:1387)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredViewer.java:1173)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.java:237)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:234)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:295)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)




I checked the tiger plugin in the eclipse directory !
looking at this path
\eclipse\plugins\org.eclipse.tigerstripe.workbench.base_0.3. 0.M200804151607_incubation\org\eclipse\tigerstripe\workbench \internal\api\impl\updater
dir !
I did find the class file corresponding : ModelUpdaterImpl.class


and when trying to drag and drop and entity artifact from my project
navigator the class diagram, i got this in the log view !!

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.NoClassDefFoundError
at
org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.getRequestFactory(ModelUpdaterImpl.java:57)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.makeArt ifactCreateRequest(QualifiedNamedElementETAdapter.java:175)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etPackage(QualifiedNamedElementETAdapter.java:234)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etNotification(QualifiedNamedElementETAdapter.java:107)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.notifyC hanged(QualifiedNamedElementETAdapter.java:63)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementImpl.setPackage(QualifiedNamedElementImpl.ja va:142)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.commands.PostCreationModelUpdateCommand.doExecut eWithResult(PostCreationModelUpdateCommand.java:146)
at
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:246)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:137)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:205)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:168)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:155)
at
org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handl eDrop(AbstractTransferDropTargetListener.java:314)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramDropTargetLi stener.handleDrop(DiagramDropTargetListener.java:133)
at
org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop( AbstractTransferDropTargetListener.java:171)
at
org.eclipse.jface.util.DelegatingDropAdapter$3.run(Delegatin gDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.util.DelegatingDropAdapter.drop(Delegating DropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 06)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:414)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237 )
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

The same class missing !
So i suppose my issue comes from a bad installation of the tigerstripe
plugins ! but i have no idea about what trying next !

Do you think the eclipse version 3.3.2 might be the source ? when
overwriting my eclipse dir with the bundle directory I had a lot of
request for overwriting eclipse files that were bigger and more recent !


Thanks,
Gilles
Re: issues modeling a class diagram [message #9827 is a reply to message #9805] Wed, 07 May 2008 16:25 Go to previous messageGo to next message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
[meant to reply to the group, not just to Gilles]

Hmmm.. This is ringing a bell. Are you running on a Windows machine?

Well, the "base" tigerstripe plugin is installed as "unjar-ed" (probably not
for too much longer I hope based on this post, see bug 230927), which means
it appears as a directory in the Eclipse/plugins dir as opposed to a .jar.

We did this in the first place to make it convenient to extract files out of
there a long time ago, but this is far from being a "hard" requirement.

Now, the problem with this approach is that based on "where" on disk you
install Eclipse and Tigerstripe, you will end up with LONG pathnames...
Which works fine in most cases... But Windows has a limit on the length
(something like 255 characters). So if you install Eclipse+Tigerstripe deep
on your harddrive, the extract will "truncate" the content... And you may
"lose" .class files!

So, until Bug 230927 is fixed, you will need to install Eclipse "fairly
close" to the root of your disk.

Eric


On 5/7/08 6:18 AM, in article
97f0a35f9dd4b3c2a172b71e6f0d41c3$1@www.eclipse.org, "gilles"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi Eric,
>
> First of all, many thanks for answering so fast to my post !
>
> Let's talk about my installation !
> Well, i downloaded the big bundle with all additionnal plugins ! While
> overwriting my eclipse (3.3.2) install directory, i reveived warnings
> telling me that some of the files already existed in the directory ! I
> overwrote them all !
>
> After this, when launching eclipse, and opening tigerstripe perspective, i
> was able to create new projets, add new class diagrams !
>
> So, I restarted my installation from the beginning ! and when using the
> palette and trying to add an entity artifact to my diagram, I got this in
> the Error View "Unhandled event loop exception"
> java.lang.NoClassDefFoundError
> at
> org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.g
> etRequestFactory(ModelUpdaterImpl.java:57)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.makeArtifactCreateRequest (QualifiedNamedEle
> mentETAdapter.java:175)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetPackage(Qualifie dNamedElementETAda
> pter.java:234)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetNotification(Qua lifiedNamedElement
> ETAdapter.java:107)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.notifyChanged(QualifiedNa medElementETAdapte
> r.java:63)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl
> .java:247)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementIm
> pl.setPackage(QualifiedNamedElementImpl.java:142)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.Tigers
> tripeBaseItemSemanticEditPolicy.setDefaults(TigerstripeBaseI temSemanticEditPol
> icy.java:205)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.MapIte
> mSemanticEditPolicy$CreateManagedEntityArtifact_1003Command. doExecuteWithResul
> t(MapItemSemanticEditPolicy.java:262)
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand
> .doExecute(AbstractTransactionalCommand.java:246)
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.ja
> va:137)
> at
> org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCo mmand.doExecuteWit
> hResult(SemanticCreateCommand.java:70)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOp
> erationHistory.java:511)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:205)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:168)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:155)
> at
> org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTo ol.java:388)
> at
>
org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(Abs tractTool.java:400 >
)
> at
> org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.perfor mCreation(Creation
> Tool.java:133)
> at
> org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTo ol.java:178)
> at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java :1053)
> at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259)
> at
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Released(DomainEve
> ntDispatcher.java:374)
> at
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Li ghtweightSystem.ja
> va:538)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:206)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.pde.internal.runtime.logview.EventDetailsDialog. open(EventDetailsD
> ialog.java:184)
> at
> org.eclipse.pde.internal.runtime.logview.EventDetailsDialogA ction.run(EventDet
> ailsDialogAction.java:91)
> at
> org.eclipse.pde.internal.runtime.logview.LogView$12.doubleCl ick(LogView.java:3
> 94)
> at
> org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:799)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.ja
> va:797)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSel ect(AbstractTreeVi
> ewer.java:1387)
> at
> org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredV
> iewer.java:1173)
> at
> org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.jav
> a:237)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:234)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:295)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:106)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:16
> 9)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
>
>
>
> I checked the tiger plugin in the eclipse directory !
> looking at this path
> \eclipse\plugins\org.eclipse.tigerstripe.workbench.base_0.3. 0.M200804151607_in
> cubation\org\eclipse\tigerstripe\workbench\internal\api\impl \updater
> dir !
> I did find the class file corresponding : ModelUpdaterImpl.class
>
>
> and when trying to drag and drop and entity artifact from my project
> navigator the class diagram, i got this in the log view !!
>
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>
> java.lang.NoClassDefFoundError
> at
> org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.g
> etRequestFactory(ModelUpdaterImpl.java:57)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.makeArtifactCreateRequest (QualifiedNamedEle
> mentETAdapter.java:175)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetPackage(Qualifie dNamedElementETAda
> pter.java:234)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetNotification(Qua lifiedNamedElement
> ETAdapter.java:107)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.notifyChanged(QualifiedNa medElementETAdapte
> r.java:63)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl
> .java:247)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementIm
> pl.setPackage(QualifiedNamedElementImpl.java:142)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.comman
> ds.PostCreationModelUpdateCommand.doExecuteWithResult(PostCr eationModelUpdateC
> ommand.java:146)
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand
> .doExecute(AbstractTransactionalCommand.java:246)
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.ja
> va:137)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOp
> erationHistory.java:511)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:205)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:168)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:155)
> at
> org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handl eDrop(AbstractTran
> sferDropTargetListener.java:314)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramDropTargetLi stener.handleDrop(
> DiagramDropTargetListener.java:133)
> at
> org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop( AbstractTransferDr
> opTargetListener.java:171)
> at
> org.eclipse.jface.util.DelegatingDropAdapter$3.run(Delegatin gDropAdapter.java:
> 211)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
> at
> org.eclipse.jface.util.DelegatingDropAdapter.drop(Delegating DropAdapter.java:2
> 09)
> at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 06)
> at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:414)
> at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237 )
> at
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:119)
> at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
> at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
> at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
> at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :168)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:106)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:16
> 9)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
> The same class missing !
> So i suppose my issue comes from a bad installation of the tigerstripe
> plugins ! but i have no idea about what trying next !
>
> Do you think the eclipse version 3.3.2 might be the source ? when
> overwriting my eclipse dir with the bundle directory I had a lot of
> request for overwriting eclipse files that were bigger and more recent !
>
>
> Thanks,
> Gilles
>
Re: issues modeling a class diagram [message #9851 is a reply to message #9827] Mon, 12 May 2008 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilles2.moreau.orange-ftgroup.com

Thanks for your reply Eric,

I will try this tomorrow
Re: issues modeling a class diagram [message #9872 is a reply to message #9827] Tue, 13 May 2008 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilles2.moreau.orange-ftgroup.com

Eric,

you were right about my issue. Thanks !
I made a new installation of Eclipse + Tigerstripe closer to the root of
my disk and now it seems to be ok !

So i am now trying to understand Tigerstripe features and i still have
questions !

I am trying to use the import UML2 models feature !
First, what do you mean by models ? Classes diagrams, Instance diagrams
and the artifacts they contain ?
There is no indication about the accepted file types ! are xmi files ok (I
mean with the xmi extension) ? only files that where generated from uml2
modeler ?

I try in one Tigerstripe project to define a diagram class and some
artifacts with various properties !
I export them by selecting the uml2 model export feature.

It generated a directory containing
1. a profile dir which contains files with uml extension
2. distrib.core.model.uml
3. [project name].uml

Then, I created a new empty project and used the import uml2 models
feature and i dit not manage to import artifacts and classes diagram i
created in the first project using the [project name].uml .
what am i doing wrong ?

And when i look into these uml files i see xmi code ! is there a reason
for giving to these files an "uml" extension instead of "xmi" ?

Thanks,
Gilles
Re: issues modeling a class diagram [message #9895 is a reply to message #9872] Tue, 13 May 2008 21:10 Go to previous messageGo to next message
Richard Craddock is currently offline Richard CraddockFriend
Messages: 31
Registered: July 2009
Member
Gilles,

A few answers to *some* of your questions..

I am trying to use the import UML2 models feature ! First, what do you
mean by models ? Classes diagrams, Instance diagrams and the artifacts
they contain ?

RC >> The UML import/export does not handle any diagram features, but will
handle Tigerstripe artifacts - mapping them to UML Classes and other
constructs (eg Associations).

There is no indication about the accepted file types ! are xmi files ok (I
mean with the xmi extension) ? only files that where generated from uml2
modeler ?

RC >> The accepted files should have the .uml extension (this is required
by the eclipse uml2 component). "xmi" is the standard by which these files
are encoded, and some proprietary tools (such as IBM RSM) use the .xmi
extension for the same content.


I try in one Tigerstripe project to define a diagram class and some
artifacts with various properties !
I export them by selecting the uml2 model export feature.

It generated a directory containing
1. a profile dir which contains files with uml extension
RC >> Thses are uml profile/model files that contain the information about
the "primitive types" et that are in the Tigerstripe profile which was
active when you did the export.

2. distrib.core.model.uml
RC >> You can sefely ignore this - we have removed it in the lateest
builds!

3. [project name].uml

Then, I created a new empty project and used the import uml2 models
feature and i did not manage to import artifacts and classes diagram i
created in the first project using the [project name].uml .
What am i doing wrong ?


RC >> That's not easy to say..can you give some more info? The basic
process should be that the classes that are found in the uml are presented
in a list where you need to say how they should be handled in Tigerstripe
- you should see a list of class names with icons against them. If they
have a '?' symbol, then TS does not know what to do with these classes and
so will ignore them. What you need to do is "right-click" on the classes
and select what type of TS Artifact they should map to. (This step is
necessary because a UML Class could mao to an Entity, a Datatype etc.)

And when i look into these uml files i see xmi code ! is there a reason
for giving to these files an "uml" extension instead of "xmi" ?

RC >> As I say the file extension convention is uml even though the
content is specified using "xmi".


Hope this helps!,

Richard Craddock
Re: issues modeling a class diagram [message #9918 is a reply to message #9895] Mon, 19 May 2008 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilles2.moreau.orange-ftgroup.com

Hi Richard,

thanks for your answers ! it's more clear to me now ! But i am still
having a doubt about the import feature ! I saw in a features list that
there is an incremental import feature in Tigerstripe.

And well, trying to import for the second time a datatype that i modified
in tigerstripe by adding attributes made me lose them . While importing, i
did not get any alert about the delta exsisting between my DataType
artifact, and the DataType imported.

Am I doing something wrong ?
Gilles
Re: issues modeling a class diagram [message #9965 is a reply to message #9918] Thu, 22 May 2008 16:36 Go to previous message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
Hi Gilles,

Well I am afraid this is another part of the current documentation that is
out-of-sync (referring to old commercial version).

The "incremental" import is not included in the current open-source version.
It wasn't clear how much of a priority we should put on that feature... But
I guess you just increased it a bit :-).

Thanks again for your feedback.
Eric


On 5/19/08 7:15 AM, in article
b069c1c8be4d874840d31f33c983f2ad$1@www.eclipse.org, "gilles"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi Richard,
>
> thanks for your answers ! it's more clear to me now ! But i am still
> having a doubt about the import feature ! I saw in a features list that
> there is an incremental import feature in Tigerstripe.
>
> And well, trying to import for the second time a datatype that i modified
> in tigerstripe by adding attributes made me lose them . While importing, i
> did not get any alert about the delta exsisting between my DataType
> artifact, and the DataType imported.
>
> Am I doing something wrong ?
> Gilles
>
>
>
Re: issues modeling a class diagram [message #562887 is a reply to message #9725] Tue, 06 May 2008 18:00 Go to previous message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
Hi Gilles,

Something is wrong here, as this is one of the most basic functionalities
:-).

Ok, so:
1. You created yourself a Tigerstripe Project in your workspace. (the "P"
orange button in the toolbar).
2. You right-clicked on that project (from the Tigerstripe Explorer, as the
Tigerstripe perspective should have been brought up upon project creation
above), to create a new Class Diagram. Anywhere in that project really.
3. First let's try from the palette. You should be able to just select one
of the artifacts types from the right handside, and click anywhere in the
blank diagram to create an artifact. It should prompt you for a name.
4. The src/ folder in the explorer contains your model. You should be able
to expand the folder and see the artifact you just created.
5. Right-click on the package to create another artifact thru a wizard. It
will appear in the package.
6. you can drag that new artifact onto the diagram.

This is the most basic scenario.

If you can't get this to work, something is wrong in your install. The reqs
are:
- Eclipse 3.3.x
+ a number of required plugins. You can look it up under "Build
Dependencies" in the 0.3M0 build posted on
http://www.eclipse.org/tigerstripe/downloads

The easiest way to ensure you've got them all is to download the
"bundle-tigerstripe-workbench-0.3M0-incubation.zip" file which contains not
only the tigerstripe-specific plugins, but all the required ones as we used
them to build the .zip.

If this is still not it, please take a look at the Error Log (Window->Show
View->Error Log), and let me know if you see any suspicious exception, and
if so, cut'n paste it here.

Hopefully, we can get you started quickly. Sorry for the inconvenience.

Eric


On 5/6/08 9:40 AM, in article
f874aa91fd94c5036821dc4561514a62$1@www.eclipse.org, "gilles moreau"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi,
>
> sorry for my misknowledge but i am having some issues with the class
> diagram editor !
>
> Using this tutorial
> (http://wiki.eclipse.org/Tigerstripe_Class_Diagram_Tutorial), I tried to
> drag and drop an entity artifact with attributes and methods to the class
> diagram ! I then got a "NoClassDefFound " exception ! I saw a
> representation of my entity on the diagram with no name ! once i deleted
> it an other entity appeared with the correct name but without its
> attributes or methods!
>
> I decided to try to use the palette ! and adding an entity artifact to the
> diagram had no effect !!
>
> Am i doing something wrong ?
>
> Thanks,
> Gilles
>
Re: issues modeling a class diagram [message #562952 is a reply to message #9734] Wed, 07 May 2008 13:18 Go to previous message
gilles is currently offline gillesFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Eric,

First of all, many thanks for answering so fast to my post !

Let's talk about my installation !
Well, i downloaded the big bundle with all additionnal plugins ! While
overwriting my eclipse (3.3.2) install directory, i reveived warnings
telling me that some of the files already existed in the directory ! I
overwrote them all !

After this, when launching eclipse, and opening tigerstripe perspective, i
was able to create new projets, add new class diagrams !

So, I restarted my installation from the beginning ! and when using the
palette and trying to add an entity artifact to my diagram, I got this in
the Error View "Unhandled event loop exception"
java.lang.NoClassDefFoundError
at
org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.getRequestFactory(ModelUpdaterImpl.java:57)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.makeArt ifactCreateRequest(QualifiedNamedElementETAdapter.java:175)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etPackage(QualifiedNamedElementETAdapter.java:234)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etNotification(QualifiedNamedElementETAdapter.java:107)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.notifyC hanged(QualifiedNamedElementETAdapter.java:63)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementImpl.setPackage(QualifiedNamedElementImpl.ja va:142)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.TigerstripeBaseItemSemanticEditPolicy.setDefault s(TigerstripeBaseItemSemanticEditPolicy.java:205)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.MapItemSemanticEditPolicy$CreateManagedEntityArt ifact_1003Command.doExecuteWithResult(MapItemSemanticEditPol icy.java:262)
at
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:246)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:137)
at
org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCo mmand.doExecuteWithResult(SemanticCreateCommand.java:70)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:205)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:168)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:155)
at
org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTo ol.java:388)
at
org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(Abs tractTool.java:400)
at
org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.perfor mCreation(CreationTool.java:133)
at
org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTo ol.java:178)
at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java :1053)
at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259)
at
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Released(DomainEventDispatcher.java:374)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Li ghtweightSystem.java:538)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:206)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.pde.internal.runtime.logview.EventDetailsDialog. open(EventDetailsDialog.java:184)
at
org.eclipse.pde.internal.runtime.logview.EventDetailsDialogA ction.run(EventDetailsDialogAction.java:91)
at
org.eclipse.pde.internal.runtime.logview.LogView$12.doubleCl ick(LogView.java:394)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:799)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.java:797)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSel ect(AbstractTreeViewer.java:1387)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredViewer.java:1173)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.java:237)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:234)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:295)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)




I checked the tiger plugin in the eclipse directory !
looking at this path
\eclipse\plugins\org.eclipse.tigerstripe.workbench.base_0.3. 0.M200804151607_incubation\org\eclipse\tigerstripe\workbench \internal\api\impl\updater
dir !
I did find the class file corresponding : ModelUpdaterImpl.class


and when trying to drag and drop and entity artifact from my project
navigator the class diagram, i got this in the log view !!

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.NoClassDefFoundError
at
org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.getRequestFactory(ModelUpdaterImpl.java:57)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.makeArt ifactCreateRequest(QualifiedNamedElementETAdapter.java:175)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etPackage(QualifiedNamedElementETAdapter.java:234)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.handleS etNotification(QualifiedNamedElementETAdapter.java:107)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadapter.QualifiedNamedElementETAdapter.notifyC hanged(QualifiedNamedElementETAdapter.java:63)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:247)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementImpl.setPackage(QualifiedNamedElementImpl.ja va:142)
at
org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.commands.PostCreationModelUpdateCommand.doExecut eWithResult(PostCreationModelUpdateCommand.java:146)
at
org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand.doExecute(AbstractTransactionalCommand.ja va:246)
at
org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.java:137)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResult(CompositeCommand.java:406)
at
org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCommand.java:134)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOperationHistory.java:511)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:205)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:168)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCommandStack.java:155)
at
org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handl eDrop(AbstractTransferDropTargetListener.java:314)
at
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramDropTargetLi stener.handleDrop(DiagramDropTargetListener.java:133)
at
org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop( AbstractTransferDropTargetListener.java:171)
at
org.eclipse.jface.util.DelegatingDropAdapter$3.run(Delegatin gDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.util.DelegatingDropAdapter.drop(Delegating DropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 06)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:414)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237 )
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

The same class missing !
So i suppose my issue comes from a bad installation of the tigerstripe
plugins ! but i have no idea about what trying next !

Do you think the eclipse version 3.3.2 might be the source ? when
overwriting my eclipse dir with the bundle directory I had a lot of
request for overwriting eclipse files that were bigger and more recent !


Thanks,
Gilles
Re: issues modeling a class diagram [message #562975 is a reply to message #9805] Wed, 07 May 2008 16:25 Go to previous message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
[meant to reply to the group, not just to Gilles]

Hmmm.. This is ringing a bell. Are you running on a Windows machine?

Well, the "base" tigerstripe plugin is installed as "unjar-ed" (probably not
for too much longer I hope based on this post, see bug 230927), which means
it appears as a directory in the Eclipse/plugins dir as opposed to a .jar.

We did this in the first place to make it convenient to extract files out of
there a long time ago, but this is far from being a "hard" requirement.

Now, the problem with this approach is that based on "where" on disk you
install Eclipse and Tigerstripe, you will end up with LONG pathnames...
Which works fine in most cases... But Windows has a limit on the length
(something like 255 characters). So if you install Eclipse+Tigerstripe deep
on your harddrive, the extract will "truncate" the content... And you may
"lose" .class files!

So, until Bug 230927 is fixed, you will need to install Eclipse "fairly
close" to the root of your disk.

Eric


On 5/7/08 6:18 AM, in article
97f0a35f9dd4b3c2a172b71e6f0d41c3$1@www.eclipse.org, "gilles"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi Eric,
>
> First of all, many thanks for answering so fast to my post !
>
> Let's talk about my installation !
> Well, i downloaded the big bundle with all additionnal plugins ! While
> overwriting my eclipse (3.3.2) install directory, i reveived warnings
> telling me that some of the files already existed in the directory ! I
> overwrote them all !
>
> After this, when launching eclipse, and opening tigerstripe perspective, i
> was able to create new projets, add new class diagrams !
>
> So, I restarted my installation from the beginning ! and when using the
> palette and trying to add an entity artifact to my diagram, I got this in
> the Error View "Unhandled event loop exception"
> java.lang.NoClassDefFoundError
> at
> org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.g
> etRequestFactory(ModelUpdaterImpl.java:57)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.makeArtifactCreateRequest (QualifiedNamedEle
> mentETAdapter.java:175)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetPackage(Qualifie dNamedElementETAda
> pter.java:234)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetNotification(Qua lifiedNamedElement
> ETAdapter.java:107)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.notifyChanged(QualifiedNa medElementETAdapte
> r.java:63)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl
> .java:247)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementIm
> pl.setPackage(QualifiedNamedElementImpl.java:142)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.Tigers
> tripeBaseItemSemanticEditPolicy.setDefaults(TigerstripeBaseI temSemanticEditPol
> icy.java:205)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.diagram.ed it.policies.MapIte
> mSemanticEditPolicy$CreateManagedEntityArtifact_1003Command. doExecuteWithResul
> t(MapItemSemanticEditPolicy.java:262)
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand
> .doExecute(AbstractTransactionalCommand.java:246)
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.ja
> va:137)
> at
> org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCo mmand.doExecuteWit
> hResult(SemanticCreateCommand.java:70)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOp
> erationHistory.java:511)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:205)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:168)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:155)
> at
> org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTo ol.java:388)
> at
>
org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(Abs tractTool.java:400 >
)
> at
> org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.perfor mCreation(Creation
> Tool.java:133)
> at
> org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTo ol.java:178)
> at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java :1053)
> at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259)
> at
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Released(DomainEve
> ntDispatcher.java:374)
> at
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Li ghtweightSystem.ja
> va:538)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:206)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.pde.internal.runtime.logview.EventDetailsDialog. open(EventDetailsD
> ialog.java:184)
> at
> org.eclipse.pde.internal.runtime.logview.EventDetailsDialogA ction.run(EventDet
> ailsDialogAction.java:91)
> at
> org.eclipse.pde.internal.runtime.logview.LogView$12.doubleCl ick(LogView.java:3
> 94)
> at
> org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:799)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.ja
> va:797)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSel ect(AbstractTreeVi
> ewer.java:1387)
> at
> org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredV
> iewer.java:1173)
> at
> org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.jav
> a:237)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:234)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:295)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:106)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:16
> 9)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
>
>
>
> I checked the tiger plugin in the eclipse directory !
> looking at this path
> \eclipse\plugins\org.eclipse.tigerstripe.workbench.base_0.3. 0.M200804151607_in
> cubation\org\eclipse\tigerstripe\workbench\internal\api\impl \updater
> dir !
> I did find the class file corresponding : ModelUpdaterImpl.class
>
>
> and when trying to drag and drop and entity artifact from my project
> navigator the class diagram, i got this in the log view !!
>
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>
> java.lang.NoClassDefFoundError
> at
> org.eclipse.tigerstripe.workbench.internal.api.impl.updater. ModelUpdaterImpl.g
> etRequestFactory(ModelUpdaterImpl.java:57)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.makeArtifactCreateRequest (QualifiedNamedEle
> mentETAdapter.java:175)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetPackage(Qualifie dNamedElementETAda
> pter.java:234)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.handleSetNotification(Qua lifiedNamedElement
> ETAdapter.java:107)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.etadap
> ter.QualifiedNamedElementETAdapter.notifyChanged(QualifiedNa medElementETAdapte
> r.java:63)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl
> .java:247)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.impl.Quali fiedNamedElementIm
> pl.setPackage(QualifiedNamedElementImpl.java:142)
> at
> org.eclipse.tigerstripe.workbench.ui.visualeditor.adaptation .clazz.sync.comman
> ds.PostCreationModelUpdateCommand.doExecuteWithResult(PostCr eationModelUpdateC
> ommand.java:146)
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTr ansactionalCommand
> .doExecute(AbstractTransactionalCommand.java:246)
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(Abstr actEMFOperation.ja
> va:137)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand .doExecuteWithResu
> lt(CompositeCommand.java:406)
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand. execute(AbstractCo
> mmand.java:134)
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory .execute(DefaultOp
> erationHistory.java:511)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:205)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:168)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack .execute(DiagramCo
> mmandStack.java:155)
> at
> org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handl eDrop(AbstractTran
> sferDropTargetListener.java:314)
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramDropTargetLi stener.handleDrop(
> DiagramDropTargetListener.java:133)
> at
> org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop( AbstractTransferDr
> opTargetListener.java:171)
> at
> org.eclipse.jface.util.DelegatingDropAdapter$3.run(Delegatin gDropAdapter.java:
> 211)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
> at
> org.eclipse.jface.util.DelegatingDropAdapter.drop(Delegating DropAdapter.java:2
> 09)
> at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :90)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 06)
> at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:414)
> at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:237 )
> at
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:119)
> at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
> at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:358)
> at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284)
> at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :168)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:106)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:16
> 9)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> 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: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>
> The same class missing !
> So i suppose my issue comes from a bad installation of the tigerstripe
> plugins ! but i have no idea about what trying next !
>
> Do you think the eclipse version 3.3.2 might be the source ? when
> overwriting my eclipse dir with the bundle directory I had a lot of
> request for overwriting eclipse files that were bigger and more recent !
>
>
> Thanks,
> Gilles
>
Re: issues modeling a class diagram [message #563002 is a reply to message #9827] Mon, 12 May 2008 10:43 Go to previous message
gilles is currently offline gillesFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks for your reply Eric,

I will try this tomorrow
Re: issues modeling a class diagram [message #563027 is a reply to message #9827] Tue, 13 May 2008 10:02 Go to previous message
gilles is currently offline gillesFriend
Messages: 5
Registered: July 2009
Junior Member
Eric,

you were right about my issue. Thanks !
I made a new installation of Eclipse + Tigerstripe closer to the root of
my disk and now it seems to be ok !

So i am now trying to understand Tigerstripe features and i still have
questions !

I am trying to use the import UML2 models feature !
First, what do you mean by models ? Classes diagrams, Instance diagrams
and the artifacts they contain ?
There is no indication about the accepted file types ! are xmi files ok (I
mean with the xmi extension) ? only files that where generated from uml2
modeler ?

I try in one Tigerstripe project to define a diagram class and some
artifacts with various properties !
I export them by selecting the uml2 model export feature.

It generated a directory containing
1. a profile dir which contains files with uml extension
2. distrib.core.model.uml
3. [project name].uml

Then, I created a new empty project and used the import uml2 models
feature and i dit not manage to import artifacts and classes diagram i
created in the first project using the [project name].uml .
what am i doing wrong ?

And when i look into these uml files i see xmi code ! is there a reason
for giving to these files an "uml" extension instead of "xmi" ?

Thanks,
Gilles
Re: issues modeling a class diagram [message #563053 is a reply to message #9872] Tue, 13 May 2008 21:10 Go to previous message
Richard Craddock is currently offline Richard CraddockFriend
Messages: 31
Registered: July 2009
Member
Gilles,

A few answers to *some* of your questions..

I am trying to use the import UML2 models feature ! First, what do you
mean by models ? Classes diagrams, Instance diagrams and the artifacts
they contain ?

RC >> The UML import/export does not handle any diagram features, but will
handle Tigerstripe artifacts - mapping them to UML Classes and other
constructs (eg Associations).

There is no indication about the accepted file types ! are xmi files ok (I
mean with the xmi extension) ? only files that where generated from uml2
modeler ?

RC >> The accepted files should have the .uml extension (this is required
by the eclipse uml2 component). "xmi" is the standard by which these files
are encoded, and some proprietary tools (such as IBM RSM) use the .xmi
extension for the same content.


I try in one Tigerstripe project to define a diagram class and some
artifacts with various properties !
I export them by selecting the uml2 model export feature.

It generated a directory containing
1. a profile dir which contains files with uml extension
RC >> Thses are uml profile/model files that contain the information about
the "primitive types" et that are in the Tigerstripe profile which was
active when you did the export.

2. distrib.core.model.uml
RC >> You can sefely ignore this - we have removed it in the lateest
builds!

3. [project name].uml

Then, I created a new empty project and used the import uml2 models
feature and i did not manage to import artifacts and classes diagram i
created in the first project using the [project name].uml .
What am i doing wrong ?


RC >> That's not easy to say..can you give some more info? The basic
process should be that the classes that are found in the uml are presented
in a list where you need to say how they should be handled in Tigerstripe
- you should see a list of class names with icons against them. If they
have a '?' symbol, then TS does not know what to do with these classes and
so will ignore them. What you need to do is "right-click" on the classes
and select what type of TS Artifact they should map to. (This step is
necessary because a UML Class could mao to an Entity, a Datatype etc.)

And when i look into these uml files i see xmi code ! is there a reason
for giving to these files an "uml" extension instead of "xmi" ?

RC >> As I say the file extension convention is uml even though the
content is specified using "xmi".


Hope this helps!,

Richard Craddock
Re: issues modeling a class diagram [message #563077 is a reply to message #9895] Mon, 19 May 2008 14:15 Go to previous message
gilles is currently offline gillesFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Richard,

thanks for your answers ! it's more clear to me now ! But i am still
having a doubt about the import feature ! I saw in a features list that
there is an incremental import feature in Tigerstripe.

And well, trying to import for the second time a datatype that i modified
in tigerstripe by adding attributes made me lose them . While importing, i
did not get any alert about the delta exsisting between my DataType
artifact, and the DataType imported.

Am I doing something wrong ?
Gilles
Re: issues modeling a class diagram [message #563117 is a reply to message #9918] Thu, 22 May 2008 16:36 Go to previous message
Eric Dillon is currently offline Eric DillonFriend
Messages: 103
Registered: July 2009
Senior Member
Hi Gilles,

Well I am afraid this is another part of the current documentation that is
out-of-sync (referring to old commercial version).

The "incremental" import is not included in the current open-source version.
It wasn't clear how much of a priority we should put on that feature... But
I guess you just increased it a bit :-).

Thanks again for your feedback.
Eric


On 5/19/08 7:15 AM, in article
b069c1c8be4d874840d31f33c983f2ad$1@www.eclipse.org, "gilles"
<gilles2.moreau@orange-ftgroup.com> wrote:

> Hi Richard,
>
> thanks for your answers ! it's more clear to me now ! But i am still
> having a doubt about the import feature ! I saw in a features list that
> there is an incremental import feature in Tigerstripe.
>
> And well, trying to import for the second time a datatype that i modified
> in tigerstripe by adding attributes made me lose them . While importing, i
> did not get any alert about the delta exsisting between my DataType
> artifact, and the DataType imported.
>
> Am I doing something wrong ?
> Gilles
>
>
>
Previous Topic:Can no longer find my Tigerstripe project
Next Topic:Can no longer find my Tigerstripe project
Goto Forum:
  


Current Time: Tue Apr 16 06:01:40 GMT 2024

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

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

Back to the top