Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Properties sheet
Properties sheet [message #609140] Wed, 20 July 2005 21:01
Eclipse UserFriend
Originally posted by: lgodl.2die4.com

Hi, I have two questions concerning the addition of a component to VE.
First, I would like to know if there is a way to group properties of an
Object in a category other than creating a class containing those
properties. Let’s say I have a class that extends JButton to which I added
two properties, I would like to have those properties grouped (showing
under a category with the ‘+’ sign in the properties view).

Also, if I throw an illegal argument exception in a setter of a component,
there is an exclamation mark showing over the component in the graphical
editor. Is there a way to do the same thing with setters for a class
which is used for a property? Let me explain what I mean. If I extends a
JButton with two properties, foo which is an int and bar which is a point
(a class I created with 2 variables, x and y). If a throw an illegal
argument exception in setFoo(int aFoo) when the argument equals 2, I will
have a exclamation mark showing in the graphical editor when I set that
property to 2. If I throw an illegal argument exception in setX from the
bar class, nothing is showed when I set x to 2 in the property editor. Is
there a way to have the same comportment in the second case?

Thanks

Daniel
Previous Topic:An internal error occurred during: "Create Remote VM for Visual Editor for Java".
Next Topic:Properties sheet
Goto Forum:
  


Current Time: Wed Sep 25 08:57:00 GMT 2024

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

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

Back to the top