<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>DefaultMultipageEditor uses StructuredTextEdtior
for the text page, </FONT></DIV>
<DIV><FONT face=Arial size=2>extending it to interact with other pages.
</FONT></DIV>
<DIV><FONT face=Arial size=2>DefaultMultipageEditor is disigned to work with
objects of </FONT></DIV>
<DIV><FONT face=Arial size=2>org.jboss.tools.common.model.XModel, </FONT><FONT
face=Arial size=2>which is very specific.</FONT></DIV>
<DIV><FONT face=Arial size=2>If you already have some multi page editor with ui
pages </FONT></DIV>
<DIV><FONT face=Arial size=2>based on your internal model, then the easiest
way is to add </FONT></DIV>
<DIV><FONT face=Arial size=2>StructuredTextEdtior as text page. </FONT></DIV>
<DIV><FONT face=Arial size=2>You can look into code of DefaultMultipageEditor
just for a hint, </FONT></DIV>
<DIV><FONT face=Arial size=2>what </FONT><FONT face=Arial size=2>may be needed
to make all pages of your multi-page editor </FONT></DIV>
<DIV><FONT face=Arial size=2>interact </FONT><FONT face=Arial
size=2>smoothly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Slava Kabanovich</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Dart Peng" <</FONT><A
href="mailto:dpeng@redhat.com"><FONT face=Arial
size=2>dpeng@redhat.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:jbosstools-dev@lists.jboss.org"><FONT face=Arial
size=2>jbosstools-dev@lists.jboss.org</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Monday, November 10, 2008 11:26
AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: [jbosstools-dev] a question about adding
text tab on multi pageeditor.</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>> Hi all,<BR>> <BR>> I want to add a text editor page on my
multi editor for editing text <BR>> source, so I think the first candidacy is
StructuredTextEditor from WTP <BR>> , but I found<BR>> there is a
DefaultMultipageEditor in org.jboss.tools.common plugin and <BR>> this editor
has included a text editor already.<BR>> So I have two chooses :<BR>>
1.Use StructuredTextEditor for the source tab.<BR>> 2.Use the
DefaultMultipageEditor for the top multi editor.<BR>> <BR>> I want to know
what's the differents between the StructuredTextEdtior <BR>> and the text
editor of DefaultMultipageEditor , which one is best?<BR>> <BR>> best
regards<BR>> <BR>> - Dart Peng<BR>>
_______________________________________________<BR>> jbosstools-dev mailing
list<BR>> </FONT><A href="mailto:jbosstools-dev@lists.jboss.org"><FONT
face=Arial size=2>jbosstools-dev@lists.jboss.org</FONT></A><BR><FONT face=Arial
size=2>> </FONT><A
href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev"><FONT face=Arial
size=2>https://lists.jboss.org/mailman/listinfo/jbosstools-dev</FONT></A></BODY></HTML>