Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsXML Editor
https://www.eclipse.org/forums/index.php/mv/msg/146359/460686/#msg_460686
Is there a way I can extend the default XML editors present in Eclipse to
show the fiel. I need to show it in the editable tree table format as it
shown in eclipse
Need information regarding this issue.
Thanks in advance!!
Regards,
Krishna]]>krishna2006-12-28T10:19:36-00:00Re: XML Editor
https://www.eclipse.org/forums/index.php/mv/msg/146359/460687/#msg_460687
Please search the newsgroup before asking questions I've already
answered this kind of question in a post dating from December, 22nd.
If this is not sufficient for you please follow up here or ask the guys
from WTP how to include the tree-editor they are providing.
Tom
krishna schrieb:
> I have to show an XML, present in the filesystem, in an RCP application.
>
> Is there a way I can extend the default XML editors present in Eclipse to
> show the fiel. I need to show it in the editable tree table format as it
> shown in eclipse
>
> Need information regarding this issue.
>
> Thanks in advance!!
>
> Regards,
> Krishna
>
>]]>Thomas Schindl2006-12-28T10:37:19-00:00Re: XML Editor
https://www.eclipse.org/forums/index.php/mv/msg/146359/460700/#msg_460700
I tried to build a multi page editor, following the instruction given at
When i try to open a editor(using a tollbar action) with the shown code the
program stops exectuing at the line marked below. On the RCP application
where I called the action no change is seen. The RCP application doesn't
hang. It seems like there is no action due to the clicking of the toolbar
button.
FileEditorInput input = new FileEditorInput(ifile);
try {
page.openEditor(input,MultiPageEditor.ID );
} catch (PartInitException e) {
e.printStackTrace();
}}
private File queryFile() {
FileDialog dialog= new
FileDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindo w().getShell(),
SWT.OPEN);
dialog.setText("Open File");
String path= dialog.open();
IPath ipath = new Path(path);
if (path != null && path.length() > 0)
return new File(path);
return null;
}
Any help regardin the issue will be appreciated.
Thanks in advance!!
Regards,
Kirshna
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:en06q4$h1s$1@utils.eclipse.org...
> Hi,
>
> Please search the newsgroup before asking questions I've already
> answered this kind of question in a post dating from December, 22nd.
>
> If this is not sufficient for you please follow up here or ask the guys
> from WTP how to include the tree-editor they are providing.
>
> Tom
>
> krishna schrieb:
>> I have to show an XML, present in the filesystem, in an RCP application.
>>
>> Is there a way I can extend the default XML editors present in Eclipse to
>> show the fiel. I need to show it in the editable tree table format as it
>> shown in eclipse
>>
>> Need information regarding this issue.
>>
>> Thanks in advance!!
>>
>> Regards,
>> Krishna
>>
>>]]>krishna2006-12-28T15:08:00-00:00Re:Extending XML Editor with TableTree
https://www.eclipse.org/forums/index.php/mv/msg/146359/460776/#msg_460776
I was able to resolve the previous problem, of not being able to open the
XML editor, even in text format.
I wanted some pointers regarding developing a multipage editor for opening
the XML file in a tabletree format, as default XML editor do in JBoss
Eclipse IDE.
I am able to do the page for showing raw text. I want to know how to go
about developing the tabletree page of it.
Thanks in advance!!
Regards,
Krishna]]>krishna2006-12-29T08:01:30-00:00Re: Changing the properties of XMLTableTreeViewer
https://www.eclipse.org/forums/index.php/mv/msg/146359/460781/#msg_460781
I was able to get the treetable viewer using
org.eclipse.wst.xml.ui.internal.tabletree.XMLTableTreeViewer ;
I want to make the treetable read only and the change the contents of
context sensitive menu. Is there any way I can do it.
Any help in this regard would be appreciated.
Thanks in advance!!
Regards,
Krishna]]>krishna2006-12-29T11:24:33-00:00Re: Changing the properties of XMLTableTreeViewer
https://www.eclipse.org/forums/index.php/mv/msg/146359/460783/#msg_460783
as already said you should ask the WTP guys on their newsgroup/mailing
list how this can be done if it can. Please also note that the class you
are using seems to be internal and can be changed/removed/... without
notification from the WTP team.
Tom
krishna schrieb:
> Hi,
>
> I was able to get the treetable viewer using
> org.eclipse.wst.xml.ui.internal.tabletree.XMLTableTreeViewer ;
>
> I want to make the treetable read only and the change the contents of
> context sensitive menu. Is there any way I can do it.
>
> Any help in this regard would be appreciated.
>
> Thanks in advance!!
>
> Regards,
> Krishna
>]]>Thomas Schindl2006-12-29T11:51:56-00:00Re: Changing the properties of XMLTableTreeViewer
https://www.eclipse.org/forums/index.php/mv/msg/146359/460797/#msg_460797
I am new to Eclipse Forum.
Regards,
Krishna]]>krishna2006-12-29T14:45:19-00:00Re: Changing the properties of XMLTableTreeViewer
https://www.eclipse.org/forums/index.php/mv/msg/146359/549420/#msg_549420
I am kind of stuck with the same problem. I want to make the treetable read only. Did u get a solution for this???
If yes kindly share it.