Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » CreateRequest.setExtendedData()
CreateRequest.setExtendedData() [message #158747] Fri, 19 November 2004 15:16 Go to next message
Eclipse UserFriend
Originally posted by: jojo.virtutech.se

Hi!

I've got a problem involving CreateRequests. In order to determine whether
a create-request can proceed, the information I currently get in the
create-request (i.e. the class of the model object) is not enough. I need
to access an object available in the creation-factory. If I could call the
getFactory() method on the CreateRequest, then I could access my
creation-factory from there, but I can't since getFactory() is protected.

--
/Jesper
Re: CreateRequest.setExtendedData() [message #158784 is a reply to message #158747] Fri, 19 November 2004 17:55 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

getNewObjectType() is typed as Object. There is no rule saying that the
object needs to be the class of the model object. It could be a HashMap if
you wanted.

"Jesper Eskilson" <jojo@virtutech.se> wrote in message
news:u67d5y9amyr.fsf@morpheus.hq.vtech...
>
> Hi!
>
> I've got a problem involving CreateRequests. In order to determine whether
> a create-request can proceed, the information I currently get in the
> create-request (i.e. the class of the model object) is not enough. I need
> to access an object available in the creation-factory. If I could call the
> getFactory() method on the CreateRequest, then I could access my
> creation-factory from there, but I can't since getFactory() is protected.
>
> --
> /Jesper
Previous Topic:Preventing newlines in TextCellEditor with SWT.WRAP
Next Topic:What is a good starting point for GEF?
Goto Forum:
  


Current Time: Tue Sep 24 14:15:19 GMT 2024

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

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

Back to the top