Home » Modeling » TMF (Xtext) » Couldn't find an interface org.eclipse.jwt.meta.model.processes.ProcessesPackage
Couldn't find an interface org.eclipse.jwt.meta.model.processes.ProcessesPackage [message #841624] |
Wed, 11 April 2012 15:04 |
Milan Missing name Messages: 14 Registered: November 2011 |
Junior Member |
|
|
Hi XText People ,
so I am new in the field of XText.I try to execute a grammar for jwt (Java Workflow Tooling), but I have problems with a Exception:
Couldn't find an interface org.eclipse.jwt.meta.model.processes.ProcessesPackage
at org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGeneratedEPackage(StandaloneSetup.java:271)
... 35 more
Somebody idea?
Here is the XText grammar:
// automatically generated by Xtext
grammar org.eclipse.jwt.jwtXtext.JwtXtext with org.eclipse.xtext.common.Terminals
import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0"
import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/core" as core
import "org.eclipse.jwt/core" as core
import "org.eclipse.jwt/processes" as processes
import "org.eclipse.jwt/events" as events
import "org.eclipse.jwt/data" as data
import "org.eclipse.jwt/organisations" as organisations
import "org.eclipse.jwt/application" as application
import "org.eclipse.jwt/functions" as functions
import "org.eclipse.jwt/primitiveTypes" as primitiveTypes
import eclipse.org/emf/2002/Ecore" as ecore
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/processes" as processes
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/events" as events
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/data" as data
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/organisations" as organisations
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/application" as application
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/functions" as functions
//import "platform:/resource/jwtXtext/metamodel/jwt-metamodel/src/org/eclipse/jwt/meta/ecore/JWTMetaModel.ecore#/0/primitiveTypes" as primitiveTypes
InitialNode returns processes::InitialNode:
{processes::InitialNode}
'InitialNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
ActivityNode returns processes::ActivityNode:
ActivityNode_Impl | StructuredActivityNode | ExecutableNode_Impl | Action | ControlNode_Impl | InitialNode | ForkNode | JoinNode | MergeNode | DecisionNode | FinalNode | ActivityLinkNode;
Application returns application::Application:
Application_Impl | WebServiceApplication;
Parameter returns data::Parameter:
Parameter_Impl | InputParameter | OutputParameter;
PackageableElement returns core::PackageableElement:
PackageableElement_Impl | ReferenceableElement;
Comment returns core::Comment:
{core::Comment}
'Comment'
'{'
('text' text=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
EString returns ecore::EString:
STRING | ID;
ActivityEdge returns processes::ActivityEdge:
'ActivityEdge'
'{'
'source' source=[processes::ActivityNode|EString]
'target' target=[processes::ActivityNode|EString]
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('guard' guard=Guard)?
'}';
ActivityNode_Impl returns processes::ActivityNode:
{processes::ActivityNode}
'ActivityNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
Guard returns processes::Guard:
{processes::Guard}
'Guard'
name=EString
'{'
('icon' icon=EString)?
('textualdescription' textualdescription=EString)?
('shortdescription' shortdescription=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('detailedSpecification' detailedSpecification=GuardSpecification)?
'}';
StructuredActivityNode returns processes::StructuredActivityNode:
{processes::StructuredActivityNode}
'StructuredActivityNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('nodes' '{' nodes+=ActivityNode ( "," nodes+=ActivityNode)* '}' )?
('edges' '{' edges+=ActivityEdge ( "," edges+=ActivityEdge)* '}' )?
'}';
ExecutableNode_Impl returns processes::ExecutableNode:
{processes::ExecutableNode}
'ExecutableNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
Action returns processes::Action:
{processes::Action}
'Action'
name=EString
'{'
('icon' icon=EString)?
('targetexecutiontime' targetexecutiontime=EInt)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('performedBy' performedBy=[organisations::Role|EString])?
('executedBy' executedBy=[application::Application|EString])?
('realizes' realizes=[functions::Function|EString])?
('inputs' '(' inputs+=[data::Data|EString] ( "," inputs+=[data::Data|EString])* ')' )?
('outputs' '(' outputs+=[data::Data|EString] ( "," outputs+=[data::Data|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('mappings' '{' mappings+=DataMapping ( "," mappings+=DataMapping)* '}' )?
'}';
ControlNode_Impl returns processes::ControlNode:
{processes::ControlNode}
'ControlNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
ForkNode returns processes::ForkNode:
{processes::ForkNode}
'ForkNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
JoinNode returns processes::JoinNode:
{processes::JoinNode}
'JoinNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
MergeNode returns processes::MergeNode:
{processes::MergeNode}
'MergeNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
DecisionNode returns processes::DecisionNode:
{processes::DecisionNode}
'DecisionNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
FinalNode returns processes::FinalNode:
{processes::FinalNode}
'FinalNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
ActivityLinkNode returns processes::ActivityLinkNode:
'ActivityLinkNode'
name=EString
'{'
('icon' icon=EString)?
('in' '(' in+=[processes::ActivityEdge|EString] ( "," in+=[processes::ActivityEdge|EString])* ')' )?
('out' '(' out+=[processes::ActivityEdge|EString] ( "," out+=[processes::ActivityEdge|EString])* ')' )?
'linksto' linksto=[processes::Activity|EString]
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'uses' '{' uses+=ParameterMapping ( "," uses+=ParameterMapping)* '}'
'}';
Role returns organisations::Role:
{organisations::Role}
'Role'
name=EString
'{'
('icon' icon=EString)?
('performedBy' '(' performedBy+=[organisations::OrganisationUnit|EString] ( "," performedBy+=[organisations::OrganisationUnit|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
Application_Impl returns application::Application:
{application::Application}
'Application'
name=EString
'{'
('icon' icon=EString)?
('jarArchive' jarArchive=EString)?
('javaClass' javaClass=EString)?
('method' method=EString)?
('type' type=[application::ApplicationType|EString])?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('input' '{' input+=InputParameter ( "," input+=InputParameter)* '}' )?
('output' '{' output+=OutputParameter ( "," output+=OutputParameter)* '}' )?
'}';
Function returns functions::Function:
{functions::Function}
'Function'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('subfunctions' '{' subfunctions+=Function ( "," subfunctions+=Function)* '}' )?
'}';
Data returns data::Data:
'Data'
name=EString
'{'
('icon' icon=EString)?
('value' value=EString)?
'dataType' dataType=[data::DataType|EString]
'informationType' informationType=[data::InformationType|EString]
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('parameters' '{' parameters+=Parameter ( "," parameters+=Parameter)* '}' )?
'}';
DataMapping returns data::DataMapping:
'DataMapping'
name=EString
'{'
('icon' icon=EString)?
'boundParameter' boundParameter=[data::Parameter|EString]
'parameter' parameter=[data::Parameter|EString]
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
EInt returns ecore::EInt:
'-'? INT;
OrganisationUnit returns organisations::OrganisationUnit:
{organisations::OrganisationUnit}
'OrganisationUnit'
name=EString
'{'
('icon' icon=EString)?
('subUnit' '(' subUnit+=[organisations::OrganisationUnit|EString] ( "," subUnit+=[organisations::OrganisationUnit|EString])* ')' )?
('belongsTo' '(' belongsTo+=[organisations::OrganisationUnit|EString] ( "," belongsTo+=[organisations::OrganisationUnit|EString])* ')' )?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
ApplicationType returns application::ApplicationType:
{application::ApplicationType}
'ApplicationType'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
InputParameter returns data::InputParameter:
{data::InputParameter}
'InputParameter'
name=EString
'{'
('icon' icon=EString)?
('value' value=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
OutputParameter returns data::OutputParameter:
{data::OutputParameter}
'OutputParameter'
name=EString
'{'
('icon' icon=EString)?
('value' value=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
WebServiceApplication returns application::WebServiceApplication:
{application::WebServiceApplication}
'WebServiceApplication'
name=EString
'{'
('icon' icon=EString)?
('jarArchive' jarArchive=EString)?
('javaClass' javaClass=EString)?
('method' method=EString)?
('Interface' Interface=EString)?
('Operation' Operation=EString)?
('type' type=[application::ApplicationType|EString])?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('input' '{' input+=InputParameter ( "," input+=InputParameter)* '}' )?
('output' '{' output+=OutputParameter ( "," output+=OutputParameter)* '}' )?
'}';
DataType returns data::DataType:
{data::DataType}
'DataType'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
InformationType returns data::InformationType:
{data::InformationType}
'InformationType'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
Parameter_Impl returns data::Parameter:
{data::Parameter}
'Parameter'
name=EString
'{'
('icon' icon=EString)?
('value' value=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
Activity returns processes::Activity:
{processes::Activity}
'Activity'
name=EString
'{'
('icon' icon=EString)?
('totalexecutiontime' totalexecutiontime=EInt)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
('nodes' '{' nodes+=ActivityNode ( "," nodes+=ActivityNode)* '}' )?
('edges' '{' edges+=ActivityEdge ( "," edges+=ActivityEdge)* '}' )?
('eventHandler' eventHandler=EventHandler)?
'}';
ParameterMapping returns data::ParameterMapping:
'ParameterMapping'
name=EString
'{'
('icon' icon=EString)?
'source' source=[core::PackageableElement|EString]
'target' target=[core::PackageableElement|EString]
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
EventHandler returns events::EventHandler:
{events::EventHandler}
'EventHandler'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
PackageableElement_Impl returns core::PackageableElement:
{core::PackageableElement}
'PackageableElement'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
ReferenceableElement returns core::ReferenceableElement:
{core::ReferenceableElement}
'ReferenceableElement'
name=EString
'{'
('icon' icon=EString)?
('ownedComment' '{' ownedComment+=Comment ( "," ownedComment+=Comment)* '}' )?
'}';
GuardSpecification returns processes::GuardSpecification:
'GuardSpecification'
'{'
('attribute' attribute=EString)?
'operation' operation=OperationType
'value' value=EString
('Description' Description=EString)?
('subSpecificationConnector' subSpecificationConnector=BooleanConnector)?
'data' data=[data::Data|EString]
('subSpecification' '{' subSpecification+=GuardSpecification ( "," subSpecification+=GuardSpecification)* '}' )?
'}';
enum OperationType returns processes::OperationType:
Equals = 'Equals' | Lower = 'Lower' | LowerEquals = 'LowerEquals' | Greater = 'Greater' | GreateEquals = 'GreateEquals' | UnEquals = 'UnEquals';
enum BooleanConnector returns processes::BooleanConnector:
AND = 'AND' | XOR = 'XOR';
|
|
| | |
Goto Forum:
Current Time: Thu Apr 25 14:56:00 GMT 2024
Powered by FUDForum. Page generated in 0.04189 seconds
|