Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » About XSD Model Tool
About XSD Model Tool [message #195513] Thu, 22 February 2007 09:57 Go to next message
Olfa is currently offline OlfaFriend
Messages: 8
Registered: July 2009
Junior Member
Hi, I used the example of package "org.eclipse.xsd.examples.command" :
the

class "CreateXSDWithNoTNSOperation". I want to use the method "

XSDSchema createXSDSchema(IFile xsdFile)" in the classe's main but i don't

know how to use or call the parameter "IFile" !


Could you give me an example please where you used the

method "createXSDSchema(IFile xsdFile)" ?

Can I use File in the place of IFile , can I use the library in another
IDE

Thank you
Re: About XSD Model Tool [message #195567 is a reply to message #195513] Thu, 22 February 2007 13:39 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------050604020707050402030406
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Olfa,

You asked the same question separately on the EMF newsgroup, which is a
better place to ask this. My answer there was:

I'm not sure which things you are pointing at so I'll answer in a
general way. In order to load from an IFile x, you should create a
URI as follows

URI.createPlatformResourceURI(x.getFullPath().toString(), true);

The resulting URI will load and save using the platform's resource APIs.

If it makes sense to post a question to multiple groups (which is almost
always not the case), you should do so with a single posting to the
multiple newsgroups so that an answer on any one newsgroup will appear
on all the newsgroups. This avoids multiple people answering the same
question in parallel.


Olfa wrote:
> Hi, I used the example of package "org.eclipse.xsd.examples.command"
> : the
> class "CreateXSDWithNoTNSOperation". I want to use the method "
>
> XSDSchema createXSDSchema(IFile xsdFile)" in the classe's main but i
> don't
> know how to use or call the parameter "IFile" !
>
>
> Could you give me an example please where you used the
> method "createXSDSchema(IFile xsdFile)" ?
> Can I use File in the place of IFile , can I use the library in
> another IDE
> Thank you


--------------050604020707050402030406
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Olfa,<br>
<br>
You asked the same question separately on the EMF newsgroup, which is a
better place to ask this.
Previous Topic:My help contents does not work
Next Topic:EMF.Edit - How to get Children Multiplicity
Goto Forum:
  


Current Time: Sat Apr 27 00:38:14 GMT 2024

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

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

Back to the top