Skip to main content



      Home
Home » Eclipse Projects » GEF » Palette initial size
Palette initial size [message #80610] Fri, 23 May 2003 07:24 Go to next message
Eclipse UserFriend
Hi,

I want to set my own initial size on the palette when starting my editor.
I now that you can retrieve the initial size from the super class but I
still haven't found where to set it myself. Could anyone give me a tip?

Thanks

/Stefan
Re: Palette initial size [message #80626 is a reply to message #80610] Fri, 23 May 2003 07:43 Go to previous messageGo to next message
Eclipse UserFriend
Once again I appologize. Of course the problem was easily solved
by just overriding the getInitialPaletteSize() method in the super class.
/Stefan

"Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
news:bal0d6$dvr$1@rogue.oti.com...
> Hi,
>
> I want to set my own initial size on the palette when starting my editor.
> I now that you can retrieve the initial size from the super class but I
> still haven't found where to set it myself. Could anyone give me a tip?
>
> Thanks
>
> /Stefan
>
>
Re: Palette initial size [message #80732 is a reply to message #80626] Fri, 23 May 2003 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

And if you want to remember the users changes, override
hanldePaletteResized(int) and save the new size somewhere.

"Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
news:bal1hd$es3$1@rogue.oti.com...
> Once again I appologize. Of course the problem was easily solved
> by just overriding the getInitialPaletteSize() method in the super class.
> /Stefan
>
> "Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
> news:bal0d6$dvr$1@rogue.oti.com...
> > Hi,
> >
> > I want to set my own initial size on the palette when starting my
editor.
> > I now that you can retrieve the initial size from the super class but I
> > still haven't found where to set it myself. Could anyone give me a tip?
> >
> > Thanks
> >
> > /Stefan
> >
> >
>
>
Re: Palette initial size [message #81647 is a reply to message #80732] Mon, 02 June 2003 02:31 Go to previous messageGo to next message
Eclipse UserFriend
Randy Hudson wrote:

> And if you want to remember the users changes, override
> hanldePaletteResized(int) and save the new size somewhere.

> "Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
> news:bal1hd$es3$1@rogue.oti.com...
> > Once again I appologize. Of course the problem was easily solved
> > by just overriding the getInitialPaletteSize() method in the super class.
> > /Stefan
> >
> > "Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
> > news:bal0d6$dvr$1@rogue.oti.com...
> > > Hi,
> > >
> > > I want to set my own initial size on the palette when starting my
> editor.
> > > I now that you can retrieve the initial size from the super class but I
> > > still haven't found where to set it myself. Could anyone give me a tip?
> > >
> > > Thanks
> > >
> > > /Stefan
> > >
> > >
> >
> >



And what about the palette position? I would prefer to have the palette
on the left of the diagram.
Re: Palette initial size [message #81662 is a reply to message #81647] Mon, 02 June 2003 02:45 Go to previous message
Eclipse UserFriend
Evan Rothfield wrote:

Sorry, just saw the discussion about palette position in another thread.

Evan

> Randy Hudson wrote:

> > And if you want to remember the users changes, override
> > hanldePaletteResized(int) and save the new size somewhere.

> > "Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
> > news:bal1hd$es3$1@rogue.oti.com...
> > > Once again I appologize. Of course the problem was easily solved
> > > by just overriding the getInitialPaletteSize() method in the super class.
> > > /Stefan
> > >
> > > "Stefan Junsved" <stefan.junsved@comactivity.net> wrote in message
> > > news:bal0d6$dvr$1@rogue.oti.com...
> > > > Hi,
> > > >
> > > > I want to set my own initial size on the palette when starting my
> > editor.
> > > > I now that you can retrieve the initial size from the super class but I
> > > > still haven't found where to set it myself. Could anyone give me a tip?
> > > >
> > > > Thanks
> > > >
> > > > /Stefan
> > > >
> > > >
> > >
> > >



> And what about the palette position? I would prefer to have the palette
> on the left of the diagram.
Previous Topic:GEF update site?
Next Topic:Edit Part selection
Goto Forum:
  


Current Time: Wed Jul 23 10:15:37 EDT 2025

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

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

Back to the top