Graphical Editor Plugin Help [message #289569] |
Mon, 08 August 2005 13:24 |
Eclipse User |
|
|
|
Originally posted by: cbwilliamsva.gmail.com
All,
First, thanks for indulging me here. I'm writing my first eclipse plug-in
which is a graphical editor similar to the Shapes GEF example. In fact,
I've taken the Shapes example and modified it to meet my needs.
When I run my plug-in I see the new file and my plug-in creation wizard
runs correctly, but when the file opens, it is not associated with my
plug-in's editor, but instead opens with the "Default Editor". My plug-in
editor is not displayed in the "Open With..." menu for my specific file
type.
I think I'm missing an association with my file extenstion to my editor,
at least that's what it looks like.
Any thoughts on what I need to do to fix this?
Thank you in advance,
Chuck
|
|
|
Re: Graphical Editor Plugin Help [message #289571 is a reply to message #289569] |
Mon, 08 August 2005 13:33 |
Eclipse User |
|
|
|
Originally posted by: cbwilliamsva.gmail.com
Ok, I've found the error of my ways in my plugin.xml file. I didn't have
the right extension in the extension!!
Now I am getting NoClassDefFoundErrors...going to go check the .log file.
Thanks,
Chuck
|
|
|
Re: Graphical Editor Plugin Help [message #289577 is a reply to message #289569] |
Mon, 08 August 2005 13:45 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Chuck Williams" <cbwilliamsva@gmail.com> wrote in message
news:6f806ac4743f5343efd3196ad4649d55$1@www.eclipse.org...
> All,
>
> First, thanks for indulging me here. I'm writing my first eclipse plug-in
> which is a graphical editor similar to the Shapes GEF example. In fact,
> I've taken the Shapes example and modified it to meet my needs.
>
> When I run my plug-in I see the new file and my plug-in creation wizard
> runs correctly, but when the file opens, it is not associated with my
> plug-in's editor, but instead opens with the "Default Editor". My plug-in
> editor is not displayed in the "Open With..." menu for my specific file
> type.
>
> I think I'm missing an association with my file extenstion to my editor,
> at least that's what it looks like.
>
> Any thoughts on what I need to do to fix this?
Specify the file extensions in the editor configuration element in the
org.eclipse.ui.editors extension.
---
Sunil
|
|
|
Re: Graphical Editor Plugin Help [message #289584 is a reply to message #289569] |
Mon, 08 August 2005 14:22 |
Eclipse User |
|
|
|
Originally posted by: cbwilliamsva.gmail.com
All,
My editor is up and running, I'm just missing one last part.
As my editor is based on the shapes example, I'm still creating ellipses
and rectangles in my diagram editor when I drag and drop the items on my
pallet.
I want to be able to create larger icons of the icons on the pallet when I
drop them on the diagram. Where do I need to go to get this done?
Thanks in advance again!
Chuck
Chuck Williams wrote:
> All,
> First, thanks for indulging me here. I'm writing my first eclipse plug-in
> which is a graphical editor similar to the Shapes GEF example. In fact,
> I've taken the Shapes example and modified it to meet my needs.
> When I run my plug-in I see the new file and my plug-in creation wizard
> runs correctly, but when the file opens, it is not associated with my
> plug-in's editor, but instead opens with the "Default Editor". My plug-in
> editor is not displayed in the "Open With..." menu for my specific file
> type.
> I think I'm missing an association with my file extenstion to my editor,
> at least that's what it looks like.
> Any thoughts on what I need to do to fix this?
> Thank you in advance,
> Chuck
|
|
|
Re: Graphical Editor Plugin Help [message #289590 is a reply to message #289584] |
Mon, 08 August 2005 14:46 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Chuck Williams" <cbwilliamsva@gmail.com> wrote in message
news:93e417a1803648f6b948d9de8b91605a$1@www.eclipse.org...
> All,
>
> My editor is up and running, I'm just missing one last part.
> As my editor is based on the shapes example, I'm still creating ellipses
> and rectangles in my diagram editor when I drag and drop the items on my
> pallet.
>
> I want to be able to create larger icons of the icons on the pallet when I
> drop them on the diagram. Where do I need to go to get this done?
>
> Thanks in advance again!
> Chuck
>
Chuck,
Please move this to eclipse.tools.gef
You will get your answers there.
---
Sunil
|
|
|
Re: Graphical Editor Plugin Help [message #289596 is a reply to message #289590] |
Mon, 08 August 2005 15:50 |
Eclipse User |
|
|
|
Originally posted by: cbwilliamsva.gmail.com
Sunil Kamath wrote:
> "Chuck Williams" <cbwilliamsva@gmail.com> wrote in message
> news:93e417a1803648f6b948d9de8b91605a$1@www.eclipse.org...
>> All,
>>
>> My editor is up and running, I'm just missing one last part.
>> As my editor is based on the shapes example, I'm still creating ellipses
>> and rectangles in my diagram editor when I drag and drop the items on my
>> pallet.
>>
>> I want to be able to create larger icons of the icons on the pallet when I
>> drop them on the diagram. Where do I need to go to get this done?
>>
>> Thanks in advance again!
>> Chuck
>>
> Chuck,
> Please move this to eclipse.tools.gef
> You will get your answers there.
> ---
> Sunil
Sunil,
Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.04282 seconds