Custom property editor for colors [message #139141] |
Wed, 18 July 2007 11:52  |
Eclipse User |
|
|
|
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 #142051 is a reply to message #139141] |
Tue, 16 October 2007 11:52  |
Eclipse User |
|
|
|
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 12:59  |
Eclipse User |
|
|
|
"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 11:52  |
Eclipse User |
|
|
|
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?
>
|
|
|
Powered by
FUDForum. Page generated in 0.07131 seconds