Eclipse Marketplace
Eclipse YouTube Channel
Bugzilla
Eclipse Forums
Planet Eclipse
Eclipse Wiki
My Foundation Portal
Home
Downloads
Users
Members
Committers
Resources
Projects
About Us
Eclipse Community Forums
Forum Search:
Search
Help
Register
Login
Home
Home
»
Modeling
»
TMF (Xtext)
»
XExpression to String
Show:
Today's Messages
::
Show Polls
::
Message Navigator
XExpression to String
[
message #1060395
]
Fri, 24 May 2013 09:18
Marc Z
Messages:
7
Registered:
July 2012
Junior Member
Hi,
how can I transform a complete XEpression as entered into the editor into a String using Java?
toString() results in a string of the responding class.
Can anyone help?
Marc
Report message to a moderator
Re: XExpression to String
[
message #1060401
is a reply to
message #1060395
]
Fri, 24 May 2013 09:34
Alexander Nittka
Messages:
1085
Registered:
July 2009
Senior Member
Hi,
Use NodeModelUtils to obtain the parse tree node and ask it for the text.
Alex
Need training, onsite consulting or any other kind of help for Xtext?
Go visit
http://xtext.itemis.com
or send a mail to
xtext@itemis.de
[Updated on: Fri, 24 May 2013 09:34]
Report message to a moderator
Re: XExpression to String
[
message #1060402
is a reply to
message #1060395
]
Fri, 24 May 2013 09:36
Christian Dietrich
Messages:
4444
Registered:
July 2009
Senior Member
Have a look at NodeModel (via nodemodelutil) you can ask a inode for
its text
--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit
http://xtext.itemis.com
or send a mail to xtext at itemis dot de
Report message to a moderator
Re: XExpression to String
[
message #1060411
is a reply to
message #1060395
]
Fri, 24 May 2013 10:13
Marc Z
Messages:
7
Registered:
July 2012
Junior Member
Thx, works great!
Marc
Report message to a moderator
Previous Topic:
Set XText content-type to UTF-8
Next Topic:
Creating xtext file as model from GMF
Goto Forum:
- Newcomers
Newcomers
- Language IDEs
AJDT
COBOL
CDT
Java Development Tools (JDT)
PDT
Objectteams
- Modeling
AMP
Amalgam
AMW
B3
ATL
BPEL Designer
Compare
Ecore Tools
EMF
EMF Client
EMF Store
EMF "Technology" (Ecore Tools, EMFatic, etc)
Epsilon
eTrice
Extended Editing Framework (READ ONLY)
Eclipse Generation Factories (EGF)
GMF (Graphical Modeling Framework)
GMT (Generative Modeling Technologies)
Graphiti
M2T (model-to-text transformation)
MDT (Model Development Tools)
Modeling (top-level project)
OCL
Papyrus
TMF (Xtext)
UML2
UML2 Tools
XSD
MoDisco
MOFScript
Presentation Modeling Framework (PMF)
Sphinx
Textual Concrete Syntax (TCS)
UMLX
VIATRA2
Model-to-Model Transformation
QVT-OML
QVT-Relations
EMF Diff/Merge
- Eclipse Projects
ACTF
Apricot
ATF
Babel
BIRT
Blinki
BPMN 2.0 Modeler
Buckminster
Buckminster dev
C-Sharp
Code Recommenders
Commercial
Dali
Dash
DSDP
DSDP - Device Debugging
DSDP - Mobile Tools for Java (MTJ)
DSDP - Real-Time Software Components (RTSC)
DSDP - Target Management
DSDP - Tools for Mobile Linux (TML)
DTP
Dynamic Languages Toolkit (DLTK)
e(fx)clipse
eBAM
eBPM
Eclipse 4
Eclipse Bundle Recipes
Eclipse Communications Framework (ECF)
Eclipse Examples
Eclipse Platform
Eclipse Process Manager (Stardust)
Eclipse RT (runtime)
Eclipse Technology Project
Eclipse UML Profiles Repository
Eclipse Website
EclipseLink
EGit
EGL Development Tools
EMF-IncQuery
EPF
EPP
Equinox
eRCP
g-Eclipse
GEF
GEF3D
Gemini
GEMS
Gyrex
Higgins
Hudson
IDE4EDU
IMP
Java Workflow Tooling
Java WorkFlow Tooling (JWT)
JavaServer Faces
JFace
Jubula
Koneki
Libra
Linux Tools Project
Lyo
Mangrove
Marketplace Client Project
Maven Integration (M2E)
Memory Analyzer
Model Focusing Tools
MST
Mylyn
Mylyn Builds
Mylyn Intent
Mylyn Versions
NatTable
Nebula
OMCW
Orbit
Orion
OSEE
P2
Paho
Platform - User Assistance (UA)
Plugin Development Environment (PDE)
Remote Application Platform (RAP)
Remus Information Management
Requirements Modeling Framework
Rich Client Platform (RCP)
Riena
Runtime Analysis Tools
Runtime Packaging
Runtimes
Sapphire
scout
SeMantic Information Logistics Architecture (SMILA)
Sequoyah
Service Component Architecture (SCA) Tools
Service Oriented Architecture
Service Oriented Architecture
Service Oriented Architecture Tools Platform (STP)
Silverlight Development Toolkit (SLDT)
Simultaneous release
Sisu
Skalli
Sketch
Spatiotemporal Epidemiological Modeler (STEM)
Standard Widget Toolkit (SWT)
Subversive
Swordfish
SWTBot
Target Communication Framework
Target Management
Technology Project and PMC
Test and Performance Tools Platform (TPTP)
Tigerstripe
Turkish Users
UOMo
Vex
Virgo
VJet
Voicetools
Wazaabi
Web Tools Project (WTP)
Webtools incubator
WindowBuilder
Woolsey
WTP - PAVE
XML Schema Definition (XSD)
Xtend
XWT
- General (non-technical)
Board committer reps
Polish users
Eclipse Foundation
Jobs and employment
Proposals
EclipseCon
Test
- Eclipse Working Groups
Pulsar
Automotive IWG
- Proposals
Potomac
secRT
OSGi Enterprise Tools
- Archived
Albireo
Service Oriented Architecture
AM3
openArchitectureWare
BPMN Modeler
Apogee
Corona
Hibachi
Glimmer
Maynstall
DSDP - Native Application Builder (NAB)
ORMF
Spaces
ScalaModules
Visual Editor (VE)
P2 dev
Cloud Deployment Toolkit
Memory Analyzer (MAT)
COSMOS
Esl
OFMP
Faceted Project Framework
IAM (Eclipse Integration for Apache Maven)
M2M (model-to-model transformation)
OHF
Tycho
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
]
Current Time:
Tue May 28 17:09:58 EDT 2013
Powered by
FUDForum
. Page generated in 0.01469 seconds