Larry,
Originally I just wanted to extend the existing vivid AbstractPlugIn,
but there where a whole bunch of other plug-ins with static getIcon
methods so I decided to create a new one in the openjump tree so as not
to break third party plug-ins.
I guess some people may get confused by having the names being the same.
How about something like UiPlugIn? As the new plug-in is designed to be
used in User interface items such as menus and toolbars?
One thing I was thinking is simplifying the way you add plug-ins to
toolbars, instead of having the FeatureInstaller there would be for the
main menu bar a JumpMenuBar and it would have the utility methods to
add, insert UiPlugIns with the whole menu path stuff in
FeatureInstaller. Likewise for Toolbars.
Paul
Larry Becker wrote:
Another question. One of the many new classes added is
AbstractPlugIn. I'm sure you know that there is already an
AbstractPlugIn in com.vividsolutions.jump.workbench.plugin since it
seems to be a modification of it. Shouldn't the name be
AbstractListenerPlugIn or something else unique to avoid confusion?
regards,
Larry
On 10/10/07, Larry Becker <[EMAIL PROTECTED]> wrote:
Hi Paul,
I have a question about the File>New menu item. I'm getting New
Project and then name,name. See attached jpeg.
regards,
Larry
On 10/10/07, Michaël Michaud <[EMAIL PROTECTED]> wrote:
Hi,
Last time I updated the files, I added keys + values everywhere (english
values when I didn't know translation).
This was Stefan's advise.
I'll try to do more tests to check what is better :
- no key for ignored translation : I agree with Stefan it is not very
good, but may be not too bad if we use a special editor like prbeditor
- keys but no translation when translation is ignored : should be good
but may be interpreted as empty string, which will prevent I18N to find
the default english string,
- default english string for unknown translations, which is the actual
policy for unknown translations.
Michaël
Stefan Steiniger a écrit :
no.. key and english text ;)
sorry, i am getting tired (it is now 0:10 here :)
stefan
Paul Austin schrieb:
Was it the key without the English text?
Paul
Stefan Steiniger wrote:
mhm.. my choice would have been always add the key to all files - this
also makes it easier for people that don't use the editor.
But if all use the editor it may be better. So i need to ask/refer to
Michael, if there was a decision lately on that, as i did not follow
all emails recently.
stefan
Paul Austin schrieb:
Michaël,
Thanks, that reminds me, there are some additional I18N keys that will
need to be translated.
I can't remember, did we decide to only add the default and the
English
values and use the fall back mechanism rather than putting the English
values in the other language files. I think this would be a good
idea as
then using the properties file editor you can quickly see which items
need translating into you language.
Sorry if that's been discussed already, I've just been a bit out of it
lately.
Cheers,
Paul
Michaël Michaud wrote:
Michael, Stefan and Landon can you do a quick test to make sure it
works
on another environment than mine.
Thanks for the excellent work.
I just have launched the new OJ and loaded a jml on Windows XP : it
works like a charm.
I'll soon do more test and have a deeper look at your library to
update my driver plugins.
Michaël
Paul
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
--
http://amusingprogrammer.blogspot.com/
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users