Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Custom property editor for colors
Custom property editor for colors [message #139141] Wed, 18 July 2007 15:52 Go to next message
Eclipse UserFriend
Originally posted by: kristine.johansen.bahn.de

We will create an SWT application with a large number of windows, so than
many different people will contribute on designing these with the Visual
Editor. To ensure a consistent look we would like to limit the colors
which can be selected in the property editor. This should apply to the
color property editor for all widgets (also standard ones like
org.eclipse.swt.widgets.Label). Is there a way one can do this in VE?
Re: Custom property editor for colors [message #140420 is a reply to message #139141] Thu, 13 September 2007 16:59 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"kjo" <kristine.johansen@bahn.de> wrote in message
news:7a6c1987956cc884601f8fb0fc91c612$1@www.eclipse.org...
> We will create an SWT application with a large number of windows, so than
> many different people will contribute on designing these with the Visual
> Editor. To ensure a consistent look we would like to limit the colors
> which can be selected in the property editor. This should apply to the
> color property editor for all widgets (also standard ones like
> org.eclipse.swt.widgets.Label). Is there a way one can do this in VE?

There is no standard way afaik, I think that woudl require some hacking the
in the VE plugin.


--
Cheers, Philippe
philippe ombredanne | nexB
1 650 799 0949 | pombredanne at nexb.com
http://www.nexb.com
http://EasyEclipse.org
Re: Custom property editor for colors [message #142051 is a reply to message #139141] Tue, 16 October 2007 15:52 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
In general, you can define a your property editor using the override
mechnism in your plugin.xml:
<override

package="org.eclipse.swt.widgets"

path="overrides/org/eclipse/swt/widgets">

</override>

Of course, you need to create a plugin and a subclass of VE editor.

Best regards
Yves YANG
----
http://www.soayetc.com

"kjo" <kristine.johansen@bahn.de> wrote in message
news:7a6c1987956cc884601f8fb0fc91c612$1@www.eclipse.org...
> We will create an SWT application with a large number of windows, so than
> many different people will contribute on designing these with the Visual
> Editor. To ensure a consistent look we would like to limit the colors
> which can be selected in the property editor. This should apply to the
> color property editor for all widgets (also standard ones like
> org.eclipse.swt.widgets.Label). Is there a way one can do this in VE?
>
Re: Custom property editor for colors [message #616535 is a reply to message #139141] Thu, 13 September 2007 16:59 Go to previous message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"kjo" <kristine.johansen@bahn.de> wrote in message
news:7a6c1987956cc884601f8fb0fc91c612$1@www.eclipse.org...
> We will create an SWT application with a large number of windows, so than
> many different people will contribute on designing these with the Visual
> Editor. To ensure a consistent look we would like to limit the colors
> which can be selected in the property editor. This should apply to the
> color property editor for all widgets (also standard ones like
> org.eclipse.swt.widgets.Label). Is there a way one can do this in VE?

There is no standard way afaik, I think that woudl require some hacking the
in the VE plugin.


--
Cheers, Philippe
philippe ombredanne | nexB
1 650 799 0949 | pombredanne at nexb.com
http://www.nexb.com
http://EasyEclipse.org
Re: Custom property editor for colors [message #616774 is a reply to message #139141] Tue, 16 October 2007 15:52 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
In general, you can define a your property editor using the override
mechnism in your plugin.xml:
<override

package="org.eclipse.swt.widgets"

path="overrides/org/eclipse/swt/widgets">

</override>

Of course, you need to create a plugin and a subclass of VE editor.

Best regards
Yves YANG
----
http://www.soayetc.com

"kjo" <kristine.johansen@bahn.de> wrote in message
news:7a6c1987956cc884601f8fb0fc91c612$1@www.eclipse.org...
> We will create an SWT application with a large number of windows, so than
> many different people will contribute on designing these with the Visual
> Editor. To ensure a consistent look we would like to limit the colors
> which can be selected in the property editor. This should apply to the
> color property editor for all widgets (also standard ones like
> org.eclipse.swt.widgets.Label). Is there a way one can do this in VE?
>
Previous Topic:VE for XSWT
Next Topic:[ANN] Looking for help: Visual XForms editor, OpenMRS and fighting the AIDS pandemic in Africa
Goto Forum:
  


Current Time: Tue Mar 19 05:47:05 GMT 2024

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

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

Back to the top