<!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>&nbsp;</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&nbsp;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&nbsp;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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Slava Kabanovich</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Dart Peng" &lt;</FONT><A 
href="mailto:dpeng@redhat.com"><FONT face=Arial 
size=2>dpeng@redhat.com</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</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>&gt;</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>&gt; Hi all,<BR>&gt; <BR>&gt; I want to add a text editor page on my 
multi editor for editing text <BR>&gt; source, so I think the first candidacy is 
StructuredTextEditor from WTP <BR>&gt; , but I found<BR>&gt; there is a 
DefaultMultipageEditor in org.jboss.tools.common plugin and <BR>&gt; this editor 
has included a text editor already.<BR>&gt; So I have two chooses :<BR>&gt; 
1.Use StructuredTextEditor for the source tab.<BR>&gt; 2.Use the 
DefaultMultipageEditor for the top multi editor.<BR>&gt; <BR>&gt; I want to know 
what's the differents between the StructuredTextEdtior <BR>&gt; and the text 
editor of DefaultMultipageEditor , which one is best?<BR>&gt; <BR>&gt; best 
regards<BR>&gt; <BR>&gt; - Dart Peng<BR>&gt; 
_______________________________________________<BR>&gt; jbosstools-dev mailing 
list<BR>&gt; </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>&gt; </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>