[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Can one use JFace for a standalone application?

Jeff Gunther wrote:
Hi Hans,

Yes, you can use JFace within a standalone application. In fact, I've even
had success with deploying a SWT/JFace application using Sun's Java Web
Start.

Jeff

Greetings.


Thanks, but how do you "initialize" the platform then? You see, I opened bug #35715 (http://bugs.eclipse.org/bugs/show_bug.cgi?id=35715). John Arthorne replied to me suggesting that I should refactor my application to an Eclipse Application using the org.eclipse.core.runtime.application extension. Now I looked at some doc and found some reference to this org.eclipse.core.runtime.application, but I could understand how I convert my project to an Eclipse Application and have the platform initialized. What menu item within the IDE should I select to get things started? I found some XML that I should enter in the builder configuration:


<extension id="coolApplication" point="org.eclipse.core.runtime.applications">
      <application>
         <run class="com.xyz.applications.Cool">
            <parameter name="optimize" value="true"/>
         </run>
      </application>
</extension>

But what is the builder configuration? See, I can't figure out "down to earth" how to perform the conversion. When I select "refactor" after selecting my project, I only have two options: "rename" and "move". Nothing about converting my project to an Eclipse Application.


Thanks again for your reply, Hans Deragon -- Deragon Informatique inc. Open source: http://www.deragon.biz http://swtmvcwrapper.sourceforge.net mailto://hans@xxxxxxxxxxx http://autopoweroff.sourceforge.net