How to run an Editor program [message #225226] |
Fri, 27 October 2006 05:35 |
Eclipse User |
|
|
|
Originally posted by: swetha.atc.tcs.co.in
HI
I want to know how to view the output when a class that extends EditorPart
is run...also the contents that are to be put in Plugin.xml for a editor,
where is the editor displayed after running the program as a new Eclipse
Application.
|
|
|
|
Re: How to run an Editor program [message #225233 is a reply to message #225230] |
Fri, 27 October 2006 08:40 |
Eclipse User |
|
|
|
Originally posted by: swetha.atc.tcs.co.in
Hi
This is what is in my Plugin.xml........I used "graph" as the
extension..and then trifed File->New->ile ..created a new file with
extension as .graph ....but couldnt get anything...
Should I run the program as a new application and then try
File->New->File in that new window ...if that is the case ,I do not see
any projects to select from in the NewFile wizard.
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.TaskList"
relationship="right"
id="gefellipse.views.SampleView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
name="Sample Palette"
icon="icons/sample.gif"
extensions="graph"
class="example1.views.GraphEditor"
id="example1.views.GraphEditor"
contributorClass="example1.views.GraphEditorActionBarContributor ">
</editor>
</extension>
</plugin>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03502 seconds