Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUnsupportedOperationException in DocumentRootImpl
https://www.eclipse.org/forums/index.php/mv/msg/205468/657492/#msg_657492
public FlowNode getFlowNode() {
// TODO: implement this method to return the 'Flow Node' containment reference
// Ensure that you remove @generated or mark it @generated NOT
throw new UnsupportedOperationException();
}
and all of the other methods throw UnsupportedOperationException as well.
Any input or things I should look at to solve this problem are highly appreciated.
Thanks!]]>tsurdilo 2011-03-03T01:18:53-00:00Re: UnsupportedOperationException in DocumentRootImpl
https://www.eclipse.org/forums/index.php/mv/msg/205468/657496/#msg_657496
return
(Library)getMixed().get(LibraryPackage.Literals.DOCUMENT_ROO T__LIBRARY,
true);
Did you edit the DocumentRoot EClass to remove the mixed feature? Or
perhaps edit it's ExtendedMetaData annotations in some other way?
tsurdilo wrote:
> After generating model code from a .ecore DocumentRootImpl does not
> seem to get generated correctly...example method:
>
> public FlowNode getFlowNode() {
> // TODO: implement this method to return the 'Flow Node'
> containment reference
> // Ensure that you remove @generated or mark it @generated NOT
> throw new UnsupportedOperationException();
> }
>
> and all of the other methods throw UnsupportedOperationException as well.
> Any input or things I should look at to solve this problem are highly
> appreciated.
>
> Thanks!]]>Ed Merks2011-03-03T01:26:32-00:00