Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EcoreResourceImpl ?
EcoreResourceImpl ? [message #442143] Fri, 31 July 2009 12:12 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
I generated a model that I imported from XSD. The generated
XyzResourceImpl class contains this:

/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EcoreResourceImpl.FrameFactory.EObjectStackFrame job;



But EcoreResourceImpl does not exist ;-(

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: EcoreResourceImpl ? (XSD attached) [message #442205 is a reply to message #442143] Fri, 31 July 2009 12:19 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050704000302060101070504
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

XSD attached!


Eike Stepper schrieb:
> I generated a model that I imported from XSD. The generated
> XyzResourceImpl class contains this:
>
> /**
> * <!-- begin-user-doc -->
> * <!-- end-user-doc -->
> * @generated
> */
> protected EcoreResourceImpl.FrameFactory.EObjectStackFrame job;
>
>
>
> But EcoreResourceImpl does not exist ;-(
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>

--------------050704000302060101070504
Content-Type: text/xml;
name="hudson.xsd"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="hudson.xsd"

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="hudson.model.Hudson" type="hudson.model.Hudson"/>
<xsd:complexType name="hudson.model.Hudson">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="job" type="xsd:anyType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation> Gets just the immediate children of {@link Hudson}.

@see #getAllItems(Class)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="primaryView" type="hudson.model.View" minOccurs="0">
<xsd:annotation>
<xsd:documentation> Returns the primary {@link View} that renders the top-page of Hudson.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="slaveAgentPort" type="xsd:int"/>
<xsd:element name="useCrumbs" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation> If true, all the POST requests to Hudson would have to have crumb in it to protect
Hudson from CSRF vulnerabilities.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="useSecurity" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation> A convenience method to check if there's some security
restrictions in place.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="view" type="hudson.model.View" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation> Gets the read-only list of all {@link View}s.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="hudson.model.View">
<xsd:sequence>
<xsd:element name="description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation> Message displayed in the top page. Can be null. Includes HTML.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="job" type="xsd:anyType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation> Gets all the items in this collection in a read-only view.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation> Gets the name of all this collection.

@see #rename(String)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="url" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation> Gets the absolute URL of this view.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>


--------------050704000302060101070504--


Re: EcoreResourceImpl ? (XSD attached) [message #443517 is a reply to message #442205] Fri, 31 July 2009 15:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Eike,

Did you leave you out the step where you set the GenPackage's Data
Converters to true? :-P Perhaps you could avoid that... I wonder if
we should be calling pushAnyType for this case...


Eike Stepper wrote:
> XSD attached!
>
>
> Eike Stepper schrieb:
>
>> I generated a model that I imported from XSD. The generated
>> XyzResourceImpl class contains this:
>>
>> /**
>> * <!-- begin-user-doc -->
>> * <!-- end-user-doc -->
>> * @generated
>> */
>> protected EcoreResourceImpl.FrameFactory.EObjectStackFrame job;
>>
>>
>>
>> But EcoreResourceImpl does not exist ;-(
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
Previous Topic:eEMF on eRCP
Next Topic:custom drawn property sheet cells
Goto Forum:
  


Current Time: Sat Dec 07 14:05:32 GMT 2019

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

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

Back to the top