Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Embedding wst/sse xml editor into a Composite
Embedding wst/sse xml editor into a Composite [message #203098] Thu, 25 October 2007 23:14 Go to next message
Eclipse User
Originally posted by: doddsie.pacbell.net

This is a multi-part message in MIME format.
----++Omea_Parts_Splitter.891719608051572
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I=20would=20like=20to=20use=20the=20existing=20XML=20editor= 20from=20SSE/WTP=20inside=20my=20custom=20editor=20part=2e

I=20would=20like=20to=20use=20the=20existing=20ability=20to:
Validate=20the=20XML=20with=20DTD's=20etc=2e=2e=2e
Use=20existing=20code=20assists/templates
syntax=20color=20highlighting

I=20would=20like=20avoid:
Re-implementing=20all=20of=20the=20above=20features=2e

Is=20there=20a=20direction=20I=20can=20go=20that=20someone=2 0can=20recommend?
Thanks,
Dave

I=20have=20attached=20a=20sample=20of=20what=20the=20UI=20mi ght=20look=20like=20in=20=2egif=20format=2e


The=20use=20of=20the=20XML=20editor=20could=20hopefully=20be =20something=20like=20this=20below:

=09Composite=20container=20=3d=20new=20Composite(parent,=20S WT=2eNONE);
=09container=2esetLayout(new=20GridLayout());

=09final=20SashForm=20sashForm=20=3d=20new=20SashForm(contai ner,=20SWT=2eVERTICAL);
=09sashForm=2esetLayoutData(new=20GridData(SWT=2eFILL,=20SWT =2eFILL,=20true,=20true));

=09//=20I=20would=20like=20to=20use=20eclipses=20editor=20in =20this=20fashion=2e
=09final=20XmlTextEditor=20xmlEditor=20=3d=20new=20XmlTextEd itor(sashForm,=20SWT=2eBORDER);

=09final=20TreeViewer=20treeViewer=20=3d=20new=20TreeViewer( sashForm,=20SWT=2eBORDER);
=09treeViewer=2eaddPostSelectionChangedListener(new=20ISelec tionChangedListener()=20{
=09=09public=20void=20selectionChanged(final=20SelectionChan gedEvent=20event)=20{
=09=09=09//=20Set=20the=20contents=20of=20the=20XML=20Editor
=09=09=09xmlEditor=2esetInput(getEditorInput());
=09=09}
=09});

=09final=20CTabFolder=20tabFolder=20=3d=20new=20CTabFolder(s ashForm,=20SWT=2eBOTTOM);

=09final=20CTabItem=20designTabItem=20=3d=20new=20CTabItem(t abFolder,=20SWT=2eNONE);
=09designTabItem=2esetText("Design");

=09tree=5f1=20=3d=20new=20Tree(tabFolder,=20SWT=2eBORDER);
=09designTabItem=2esetControl(tree=5f1);

=09final=20CTabItem=20sourceTabItem=20=3d=20new=20CTabItem(t abFolder,=20SWT=2eNONE);
=09sourceTabItem=2esetText("Source");

=09styledText=5f1=20=3d=20new=20StyledText(tabFolder,=20SWT= 2eBORDER);
=09sourceTabItem=2esetControl(styledText=5f1);
=09sashForm=2esetWeights(new=20int[]=20{1,=201,=201=20});
=09

----++Omea_Parts_Splitter.891719608051572
Content-Type: image/gif; name="CustomEditor.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="CustomEditor.gif"

R0lGODlhcwFWAfcAAAAAAAghawgpaxApaxApcxAxcxgxcxgxexg5eyE5eyE5
hCFChClChClKhClKjDFKjDFSjDFSlDlSlDlalDlanEJCQkJanEJjnEJzrUpj
nEpjpUprpUp7rVJrpVJzpVJzrVKEtVpzrVp7rVp7tVqEvWN7tWOEtWOEvWOM
xmuMvWuMxmuUxmu153OUxnOUznOcxnOcznO153O953ucznuc1nulznul1oSE
hISlzoSl1oStzoSt1oylzoyt1oyt3oy13ozG55St1pS13pS155S955xzEJx7
EJy11py955zG76WEGKWUWqW11qXG76XO76XO96XW762MGK2UWq2cWq293q3G
3rWMGLWUIbWcUrWcWr2UIb21tb3W773e98bO587W79atQtatUta1Y9bWztb3
/97Wvd7e1uf3/+////felPf////ee//ehP/npf/vrf/vvf/3zv//7///////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
/////////////////////ywAAAAAcwFWAQAI/gDHjAlAsKDBgwgFBBiwUMCA
AQ4JDJBIoMAAAwQMFDCgkaOBAwYQhDSQAEHJBChTJliwcuUCBi9fMpjJoEHN
mg0e5Myp8wEEnz5/QpAwdKgECROQIp3AdIIFp04vTLhg4YLVqxkuZM2QYUPX
rhvChu2wgayHDmc9ePiwdm0IDyE+iAgxV4RdESPwiighwsQIEyVMCB4s+ISJ
EylMpECcorFjxy1SRG4xmbJlyi9azND8Yobnz59rzMAxGkcNHDlQq86RY0eO
Hq939Jjdw0ftHj9wC/Eh5IeQ38CFEBEuBAkR40iQJ0+eBEnzJkmgN5lO3cl0
602wa7/OPXv37d7D/oMf30TgmDLm06tff569+/fw45tHL7++/fnp6QvUj98+
//vx/VefgADmZ2B/CA5YoILy8UfgghAW6OB5W9xg4YUYZqjhhhx26OGHIIYo
4ogklmjiiSimqOKKLLboYoZboDfhFmNUeANCOOao44489ujjj0BeuAWN6BFZ
435HtmfkkkoiyWSRTUIpZZJHTvlkklZGWeWWTGpJY5NehhlmlmRy6aSYUI5p
ZplXtqmmhUOyV2EADj1k5514SoTnnnz26eefEwEq6KB7OiTkemk++J6iCzK6
KJUR4velgV86imik8KX56JmYdrrelzcYqeQNA4Ak0qkjoapqqqyu6mqr/rC+
KmustM76KkggeQSnpulVuiV9mhoJ7K9a0jdpe8QWq96wU8qY7LH4EeirsJwm
26yyWyLbn7OTQosst+2B6+y15BI7JZKh9nqDASy15K67WrTrbrv0olTvvPbm
i+++98rbr77/8gtwviwVfFK63yKprUBfTvpfw+pBbJ6vYOon8cQHdturnAoP
S6WoHmNMpYAXQyqyxRgbe/K2IkPqbZI0ViDzzDQzrB7NOFfQZKjG3vBSAxhg
wAEGIKSgAxdecHFFHFfcNJNNTkMt9dNUR1311FZnDbXWV3fN9dc0zbQAnDBv
vHDI/3mc9oEmK9zxfBfrN+PCLR/Ln8Znu63y/tuS0s33pcvaLPiEfQtYgRxq
IK64HDrLLVAFiUc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/PZlHZdASLU9HZVRKzb9IbVRMtVT03NRJ7VRI5dQ49NRF
LVE/1TCj+dRD3dLtVM6giItgNNTaDFXZbE13PNVZVM1R1UldxVVN5VWA3NVc
DVZfvVRgvdVZ/dVhRdZeTVZjtUdd0a/axFFbpVZnlUIc1B0nlU3rpM7srNb1
7NJPrZsF5VRyVdFxFc/QcUh1jc91FcN2TU90dcdzfddyTVdzjdczpNFz/iwT
Kr3TVLwWcD1Mgs3U1eyWct3UHu1NmWzNhk1SIPTWJ31YM41YlnRY3LxYiJ3Y
jKVYiUVNj9XYiuVY24TWh6yzfAQMi1XUavVTtETLPmVUjG1WNI1OZ43GLY3Z
ac1ZBt1Z1BRYbuVZfMTZn9VZoj1YoPVZpDVabBlYoRXaf41W2ipRU2XCo+1J
rDVMDMXZ4ZDFnvVa2bSclS3PUw1YBQ3Ts91XSd1Vs13bsv3XtGVbuHXbaZ1b
lq1btKXbuH3bvP3VJ93TVSmDs42cUcXYJD1NsIVDnUlcle3U6uxaa6FO7/TN
qFVVnc0WaGXInsXcbcnclA3WpOVcbfFcWdVc/tC93KbtXJ19WxGlD6zF28HV
1cY917j1W77FWaoNSFqt1aCNSCg9WJOU3N/FWMM9w+IdXus83uAFXuYNU+Vt
XuM9XOR1XuldXuKtXuj93Utlk4OQiYNoAu89CCf4XvIdX/L9XvPt3vNN3yYw
X/Ztgic4X5l43/mV3/Y9X/HF3/e9X/wlXyToX/b13v3tX/XlX/wVYAJG4P5V
4APO3wV24AY2YPuVYPJl4AkeYPCF4AtOYA2u4A7+Xgv2YAoG4Q8uYABGX+vh
3/11XwdmYRWmYBaO4ReeYReuYRSm4RbOYRy+XxeeYR1+4fFlXxkW4vwN4vIt
Ygke4iPm4SRGYiJmNuInNuIoZuIbluIltuIqpuIcNuIs5uItbmIovmItpmIb
rp3oyFY0TmM1XmM2bmM3fuPfKYOAAAA7
----++Omea_Parts_Splitter.891719608051572--
Re: Embedding wst/sse xml editor into a Composite [message #203283 is a reply to message #203098] Mon, 29 October 2007 09:42 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2266
Registered: July 2009
Senior Member
David ddodd wrote:
> I would like to use the existing XML editor from SSE/WTP inside my custom editor part.
>
> I would like to use the existing ability to:
> Validate the XML with DTD's etc...
> Use existing code assists/templates
> syntax color highlighting
>
> I would like avoid:
> Re-implementing all of the above features.
>
> Is there a direction I can go that someone can recommend?

In my own experience, getting any editor to work within an arbitrary
Composite simply is very difficult. You might want to investigate
the MultiPageEditorPart hierarchy and how it manages a somewhat
similar task, as well as some of the uses of the
StructuredTextViewer directly.

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:How to get the autocompletion element liste from XML Edior?
Next Topic:HHHHHHHHelp wiht war/ear file
Goto Forum:
  


Current Time: Wed Sep 17 05:51:55 GMT 2014

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

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