And it groups the resources nicely together that belong together. It is kind of a wicket threesome ;-)

Martijn


On 11/11/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
I think it is worth it because it consolidates what usually is three different editor tabs into one, so i can access more things quickly. i have a 21" screen and i can only see about 6-7 tabs at a time, this plugin would double/tripple that real-estate. and it eliminates all the scrolling you have to do in the package manager, or clicking that link button all the time.

-Igor


On 11/10/05, Alexandru Popescu < [EMAIL PROTECTED]> wrote:
#: Igor Vaynberg changed the world a bit at a time by saying on  11/11/2005 3:16 AM :#

> well it sounds resonable. but it also sounds like a lot of research and
> learning, unfortunately i dont think i have time for all that. i barely have
> enough time to work on wicket and wicket-spring integration stuff. so if
> someone wants to pick this up they are more then welcome to :) the code is
> all there in wicket-stuff/wicketeer project.
>
> -Igor
>

Understandable. My schedule for this end of year is very tight, so I will most probably not be able
to do it. However, if somebody is starting to work on it, probable I will be able to offer some hints.

Not planning to sound bad: but I was wondering if the effort is really worth it: 1 click instead of
3 (and maybe some less navigation).

./alex
--
.w( the_mindstorm )p.


>
> On 11/10/05, Alexandru Popescu < [EMAIL PROTECTED]> wrote:
>>
>> #: Igor Vaynberg changed the world a bit at a time by saying on 11/11/2005
>> 2:50 AM :#
>> > well
>> > what i would really like is this.
>> >
>> > whenever i click on a java file that extends from markupcontainer, i
>> would
>> > like the java editor to open. On the bottom i would like to have tabs,
>> one
>> > for each wicket resource
>> >
>> > So if i have
>> > MyPanel.java
>> > MyPanel.html
>> > MyPanel.properties
>> > and i double clik MyPanel.java, i would have three tabs on the bottom
>> for
>> > each one of those files, each tab would embed the proper eclipse editor.
>> >
>> > This would really boost productivity because you wouldnt have to go
>> looking
>> > for the templates and property files and switching is really easy. But i
>> > dont even know where to start looking to do something like this. The
>> > renaming stuff wasnt that difficult to find and seemed intuitive, but
>> > something like this might be over my head for the amount of time i have
>> to
>> > spend on it.
>> >
>> > -Igor
>> >
>>
>> I see. I am not a Wicket user (or at least not yet - just been around to
>> figure out if the framework
>> is gonna help me).
>>
>> I guess the editor you are speaking about is quite new. Why? Because
>> usually the multi-tab editors
>> are presenting the same information/file but in different formats, while
>> here you are speaking about
>> 3 different sources. However it looks like the steps to be followed are
>> the following:
>> 1/ look in the WTP to see how this multi-tab editors are done
>> 2/ take the XHTML editor from there
>> 3/ create a component/or whatever we call it that presents together the
>> Eclipse Java editor, an
>> XHTML editor and the Eclipse properties editor.
>>
>> This definitely should work. My approach would be to look what interfaces
>> a source editor must
>> provide and than create a simple implementation based on pure SWT/JFace
>> with multiple tabs.
>>
>> I remember a discussion on the Wicket ML where the markup (HTML file)
>> wasn't named exactly as the
>> Java source. I am not sure if this is supported or not. In case it is
>> supported, than the things may
>> become more complex, as you should go down to the Eclipse Java source
>> parser and extract the exact
>> piece of information to retrieve the HTML name.
>>
>> what do you think about these? do they make any sense to you?
>>
>> ./alex
>> --
>> .w( the_mindstorm )p.
>>
>>
>> >
>> > On 11/10/05, Alexandru Popescu < [EMAIL PROTECTED]>
>> wrote:
>> >>
>> >> #: Igor Vaynberg changed the world a bit at a time by saying on
>> 11/11/2005
>> >> 12:44 AM :#
>> >> > unfortunately i havent seen any open source plugins that embed a java
>> >> editor
>> >> > inside a multitabbed editor yet, so its been hard to "get my
>> expiration"
>> >> :)
>> >> > unfortunately i just dont have the time to become an eclipse guru to
>> >> work on
>> >> > this. maybe you can help out.
>> >> >
>> >> > -Igor
>> >> >
>> >> >
>> >>
>> >> Let me know what are your future thoughts on the plugin and I will
>> >> evaluate if I am really able to
>> >> provide help :-).
>> >>
>> >> ./alex
>> >> --
>> >> .w( the_mindstorm )p.
>> >>
>> >> ps: if you want to reach me offline pls use
>> >> the_mindstorm[at]evolva[dot]ro. thanks
>> >>
>> >> > On 11/10/05, Alexandru Popescu < [EMAIL PROTECTED] >
>> >> wrote:
>> >> >>
>> >> >> #: Igor Vaynberg changed the world a bit at a time by saying on
>> >> 11/11/2005
>> >> >> 12:01 AM :#
>> >> >> > Juergen,
>> >> >> > I get the same warning. Im not really sure why its there. What im
>> >> >> thinking
>> >> >> > is just copying and pasting that class into the plugin's source.
>> As i
>> >> >> said,
>> >> >> > this is my first time fiddling with eclipse.
>> >> >> >
>> >> >> > The easiest way i found to deploy it is to let eclipse generate an
>> >> ant
>> >> >> file
>> >> >> > by right clicking on the MANIFEST.MF and going to pde tools/build
>> ant
>> >> >> file
>> >> >> > and then doing the build using ant. When its done you get the jar
>> >> file
>> >> >> you
>> >> >> > can drop into the plugins folder.
>> >> >> >
>> >> >> > Maybe we can set up an update site if there is more interest. I
>> think
>> >> >> the
>> >> >> > coolest feature this plugin can have is small tabs in the bottom
>> of
>> >> the
>> >> >> > editor that would let you switch between java/html/properties
>> files,
>> >> >> much
>> >> >> > like the editor you get when you double click the MANIFEST.MFfile.
>> >> But
>> >> >> i
>> >> >> > have absolutely no clue as to how to do that, so for now i will
>> stick
>> >> to
>> >> >> > small features i can figure out how to do - like auto file
>> renaming,
>> >> >> etc.
>> >> >> >
>> >> >> > -Igor
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> Usually, while doing this it is a good idea to identify that feature
>> in
>> >> >> some core plugin or open
>> >> >> source plugin and get your inspiration.
>> >> >>
>> >> >> At least this worked for me while developing a couple of Eclipse
>> >> plugins,
>> >> >> including the TestNG one.
>> >> >>
>> >> >> hth,
>> >> >>
>> >> >> ./alex
>> >> >> --
>> >> >> .w( the_mindstorm )p.
>> >> >>
>> >> >> > On 11/10/05, Juergen Donnerstag < [EMAIL PROTECTED]>
>> wrote:
>> >> >> >>
>> >> >> >> Igor,
>> >> >> >>
>> >> >> >> Eclipse warns me that "Discouraged access: The type
>> >> >> >> RenameResourceChange is not accessible due to restriction on
>> >> required
>> >> >> >> library D:\Programme\eclipse-
>> >> >> >> 3.1\eclipse\plugins\org.eclipse.jdt.ui_3.1.1.jar"
>> >> >> >>
>> >> >> >> Any idea what I'm doing wrong?
>> >> >> >>
>> >> >> >> What is the easiest way to deploy it. I know I can copy the jars.
>> >> >> >> Isn't there menu entry to deploy it into a specific eclipse
>> >> >> >> installation?
>> >> >> >>
>> >> >> >> thanks
>> >> >> >> Juergen
>> >> >> >>
>> >> >> >> On 11/6/05, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
>> >> >> >> > got access to a laptop, and just checked it in.
>> >> >> >> > its in wicket-stuff/wicketeer
>> >> >> >> >
>> >> >> >> > as i said this is my first go at an eclipse plugin so im sure
>> the
>> >> >> code
>> >> >> >> isnt
>> >> >> >> > as elegant as it could be
>> >> >> >> >
>> >> >> >> > right now it handles all basic cases, like renaming a class
>> that
>> >> >> >> inherits
>> >> >> >> > from markup container and renaming an inner class that inherits
>> >> from
>> >> >> the
>> >> >> >> > markup container. one case that is not handled is renaming
>> files
>> >> for
>> >> >> a
>> >> >> >> class
>> >> >> >> > that does not inherit from the markup container but has inner
>> >> classes
>> >> >> >> that
>> >> >> >> > do.
>> >> >> >> >
>> >> >> >> > i would like this to be a community driven effort because i do
>> not
>> >> >> have
>> >> >> >> a
>> >> >> >> > ton of time to put into this, so any contributions are welcome.
>> >> And
>> >> >> if
>> >> >> >> > someone has eclipse experience and wouldnt mind looking over it
>> >> and
>> >> >> >> giving
>> >> >> >> > pointers that would be great too.
>> >> >> >> >
>> >> >> >> > -Igor
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On 11/6/05, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
>> >> >> >> > > i will check it in tonight.
>> >> >> >> > > -Igor
>> >> >> >> > >
>> >> >> >> > >
>> >> >> >> > >
>> >> >> >> > >
>> >> >> >> > > On 11/6/05, Andrew Berman < [EMAIL PROTECTED] > wrote:
>> >> >> >> > > > Definitely would be nice.
>> >> >> >> > > >
>> >> >> >> > > >
>> >> >> >> > > >
>> >> >> >> > > > On 11/6/05, Martijn Dashorst < [EMAIL PROTECTED] >
>> >> >> wrote:
>> >> >> >> > > > > OOOOHHHHH YEAH!
>> >> >> >> > > > >
>> >> >> >> > > > > Martijn
>> >> >> >> > > > >
>> >> >> >> > > > >
>> >> >> >> > > > > On 11/6/05, Igor Vaynberg < [EMAIL PROTECTED]>
>> wrote:
>> >> >> >> > > > > > Hi guys, ive been doing some refactoring lately and got
>> >> >> really
>> >> >> >> tired
>> >> >> >> > of
>> >> >> >> > > > > > renaming the .html and .properties file after i renamed
>> >> the
>> >> >> page
>> >> >> >> or
>> >> >> >> > panel
>> >> >> >> > > > > > class. This sucks especially when you have inner
>> classes
>> >> and
>> >> >> you
>> >> >> >> > have to
>> >> >> >> > > > > > rename all inner resources like
>> >> SomePage$SomeInnerPanel.html
>> >> >> >> > > > > >
>> >> >> >> > > > > > I created a small plugin for eclispe that does the
>> >> renaming
>> >> >> of
>> >> >> >> all
>> >> >> >> > non-java
>> >> >> >> > > > > > resources when you rename a class that extends
>> >> >> >> > wicket.MarkupContainer .
>> >> >> >> > > > > >
>> >> >> >> > > > > > Essentially if you have a page called SomePage class
>> and
>> >> you
>> >> >> >> rename
>> >> >> >> > it to
>> >> >> >> > > > > > SomeOtherPage all resources SomePage.* in the same
>> package
>> >> >> will
>> >> >> >> be
>> >> >> >> > renamed
>> >> >> >> > > > > > to SomeOtherPage.*
>> >> >> >> > > > > >
>> >> >> >> > > > > > If there is any interest i can make it available as a
>> >> >> >> wicket-stuff
>> >> >> >> > project.
>> >> >> >> > > > > > keeping in mind that it was my first forray into
>> eclipse,
>> >> so
>> >> >> i
>> >> >> >> > cannot
>> >> >> >> > > > > > guarantee it works 100%.
>> >> >> >> > > > > >
>> >> >> >> > > > > > -Igor



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1

Reply via email to