Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » PaletteModeDialog in LogicExample
PaletteModeDialog in LogicExample [message #156651] Wed, 03 November 2004 10:57 Go to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

Ihave been playing aroun with the logic example a lot lately and i notic=
ed =

the following:
The PrintModeDialog in the logic example is never used!
The editor supports print via the workbenchs global print action and not=
=

its own LogicPrintAction,
as that one is never registered. Just FYI...
Re: PaletteModeDialog in LogicExample [message #156659 is a reply to message #156651] Wed, 03 November 2004 16:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Check the plugin.xml file for usage of this action. It's too bad a
constructor search doesn't find this hit.

Right-click on a .logic file to see the dialog

"Frank Dyck" <dyx@gmx.net> wrote in message news:opsgvx1wdr0i05et@celeron...
Ihave been playing aroun with the logic example a lot lately and i noticed
the following:
The PrintModeDialog in the logic example is never used!
The editor supports print via the workbenchs global print action and not
its own LogicPrintAction,
as that one is never registered. Just FYI...
PrintModeDialog in LogicExample [message #156719 is a reply to message #156659] Thu, 04 November 2004 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

I see. If i right click on a *.logic file in the package explorer the =

print action that is run is the logic-print action. But the one in the =

file menu and on the tool bar are not.
Wouldn`t it be consistent to override the eclipse print action there too=
?
Can this be done by simlpy setting OverrideAction ID in the plugin.xml?
Or would it have to be registered manuall with the menu and toolbar in t=
he =

contributor class?


> Check the plugin.xml file for usage of this action. It's too bad a
> constructor search doesn't find this hit.
>
> Right-click on a .logic file to see the dialog
>
> "Frank Dyck" <dyx@gmx.net> wrote in message =

> news:opsgvx1wdr0i05et@celeron...
> Ihave been playing aroun with the logic example a lot lately and i =

> noticed
> the following:
> The PrintModeDialog in the logic example is never used!
> The editor supports print via the workbenchs global print action and n=
ot
> its own LogicPrintAction,
> as that one is never registered. Just FYI...
Re: PrintModeDialog in LogicExample [message #156806 is a reply to message #156719] Thu, 04 November 2004 16:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

We are extending the context menu. The package explorer controls the
File->Print global action. Talk to platform-UI team if you think new
extension points are needed. I don't think people expect those actions to
map to views.
"Frank Dyck" <dyx@gmx.net> wrote in message news:opsgxnnuk40i05et@celeron...
I see. If i right click on a *.logic file in the package explorer the
print action that is run is the logic-print action. But the one in the
file menu and on the tool bar are not.
Wouldn`t it be consistent to override the eclipse print action there too?
Can this be done by simlpy setting OverrideAction ID in the plugin.xml?
Or would it have to be registered manuall with the menu and toolbar in the
contributor class?


> Check the plugin.xml file for usage of this action. It's too bad a
> constructor search doesn't find this hit.
>
> Right-click on a .logic file to see the dialog
>
> "Frank Dyck" <dyx@gmx.net> wrote in message
> news:opsgvx1wdr0i05et@celeron...
> Ihave been playing aroun with the logic example a lot lately and i
> noticed
> the following:
> The PrintModeDialog in the logic example is never used!
> The editor supports print via the workbenchs global print action and not
> its own LogicPrintAction,
> as that one is never registered. Just FYI...
Re: PrintModeDialog in LogicExample [message #156969 is a reply to message #156806] Fri, 05 November 2004 12:35 Go to previous message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

I see. At least for editors i would say that _users_ would expect exact=
ly =

that.
I.e. in the logic editor example the context menu`s print item offers th=
e =

printmode dialog which makes sense and is a nice feature for a graphical=
=

editor. But the more easily accessible file->print and toolbar->print =

action don`t.
So when the editor i active and the user selects print hewould expect al=
l =

the print actions to be the same.
(He probably wouldn`t even know that the print action from the context =

menu differs from the one in the toolbar or filemenu and so use the more=
=

easily accessible one)

But isn`t this what overrideActionId in the plugin.xml is for?



> We are extending the context menu. The package explorer controls the
> File->Print global action. Talk to platform-UI team if you think new
> extension points are needed. I don't think people expect those action=
s =

> to map to views.
>
> "Frank Dyck" <dyx@gmx.net> wrote in message =

> news:opsgxnnuk40i05et@celeron...
> I see. If i right click on a *.logic file in the package explorer the
> print action that is run is the logic-print action. But the one in the=

> file menu and on the tool bar are not.
> Wouldn`t it be consistent to override the eclipse print action there t=
oo?
> Can this be done by simlpy setting OverrideAction ID in the plugin.xml=
?
> Or would it have to be registered manuall with the menu and toolbar in=
=

> the
> contributor class?
>
>
>> Check the plugin.xml file for usage of this action. It's too bad a
>> constructor search doesn't find this hit.
>>
>> Right-click on a .logic file to see the dialog
>>
>> "Frank Dyck" <dyx@gmx.net> wrote in message
>> news:opsgvx1wdr0i05et@celeron...
>> Ihave been playing aroun with the logic example a lot lately and i
>> noticed
>> the following:
>> The PrintModeDialog in the logic example is never used!
>> The editor supports print via the workbenchs global print action and =
not
>> its own LogicPrintAction,
>> as that one is never registered. Just FYI...
>
>



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Previous Topic:2 editparts that use FreeformLayer in the same viewer
Next Topic:org.eclipse.draw2d.examples?
Goto Forum:
  


Current Time: Fri Sep 27 13:26:38 GMT 2024

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

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

Back to the top