Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Re: umlclass Operation Manage Parameters types not working
Re: umlclass Operation Manage Parameters types not working [message #505427] Wed, 30 December 2009 14:03
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
BDE,

It's best to ask about UML tool support on the UML tools newsgroup,
which I've added to the to list of the reply.

bde wrote:
> Hi,
> I've got a problem in setting parameters for operations in uml classes.
> I use the newest plugins for emf, uml2.
> Whenever I create an operation for a class in an uml class diagram and
> want to set parameters for that operation, these parameters are not set
> when written manually. When I choose the graphical way by right-clicking
> the operation and choosing 'Manage parameters', the dialog 'Select
> Parameters for Operation' pops up and shows me a list for parameters to
> set. But I cannot choose a type for the parameter. Whenever I try to
> choose a type an exception (Unhandled event loop exception) occurs and
> nothing happens further (no dialog, no popup):
>
> Here's Exception Stack Trace:
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.transaction.util.TransactionUtil.getEditingD omain(TransactionUtil.java:61)
> at
> org.eclipse.uml2.diagram.common.sheet.chooser.ReferencedElem entChooserDialog. <init>(ReferencedElementChooserDialog.java:49)
> at
> org.eclipse.uml2.diagram.common.parameter.celleditors.TypeDi alogCellEditor$ReferencedElementChooserDialogEx. <init>(TypeDialogCellEditor.java:69)
> at
> org.eclipse.uml2.diagram.common.parameter.celleditors.TypeDi alogCellEditor$1. <init>(TypeDialogCellEditor.java:44)
> at
> org.eclipse.uml2.diagram.common.parameter.celleditors.TypeDi alogCellEditor.openDialogBox(TypeDialogCellEditor.java:44)
> at
> org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected( DialogCellEditor.java:244)
> ...
> ..
> .
>
> I know there's already a bug report
> Bug #282048 'Cannot specify Type in Operation Parameter dialog'
> That was reported about half a year ago, and I've suggested it should be
> fixed already...but probably I'm mistaken.
>
> Maybe somebody could give me some advice what to do now, because I don't
> want to patch my eclipse (I haven't ever done that before)
>
> Thanks a lot for your help
>
> ys
> bde
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Diagram Generation Wiki out of date?
Next Topic:Re: umlclass Operation Manage Parameters types not working
Goto Forum:
  


Current Time: Fri Apr 19 06:50:20 GMT 2024

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

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

Back to the top