Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] CSS Editor & Contact Demo

2010/7/18 Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>:
> Hi,
>
> Ok - I got you. Still you need an editor also working at design time.
> Ideally the editor can work in both modes like e.g. my model editor for
> the workbench model does.

Yes you understand my idea. I was great if the CSS editor will support
the 2 modes.
>
> Tom
>
> Am 18.07.10 17:11, schrieb Angelo zerr:
>> Hi Tom,
>>
>> Thank a lot for your answer. I believe that myy idea about CSS Editor
>> is not the same than you. Indead my CSS Editor idea is to manage CSS
>> stylesheet for an UI instance (and not for a metadata UI). Imagine you
>> have an UI instance with SWT Text with an id 'MyId'. The
>> autocompletion will show Text[@id='MyId'].
>>
>> To retrieve the CSS properties supported by SWT Text, the CSS editor
>> will use the CSS Engine instance (So the CSS engien must support this
>> features). The CSS Editor will manage an instance of CSSEngine as
>> model and not an EMF model. IHMO I think it will be very helpfull to
>> have autocmpletion with ID, properties of Widget for an UI instance.
>> Imagine you have the Eclipse IDE, it's very difficult to know the ID
>> for each widget. If you have CSS Editor wich show autocmpletion with
>> the IDs widgets which compose the Eclipse IDE, I think it can be very
>> helpfull to write CSS stylessheets. More user could see the result of
>> the apply styles as soon as the user type some content styles.
>>
>> Hope you will understand my explanation and the idea will please you.
>>
>> Angelo
>>
>> 2010/7/18 Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>:
>>> Hi,
>>>
>>> Providing an E4-CSS-Editor is a very important thing and something we
>>> should target in the next release cycle.
>>>
>>> IMHO the current problem with CSS is that there's no formal definition
>>> which Attributes one can set.
>>>
>>> My proposal would be to use xText to write an e4-CSS-Editor (I've been
>>> thinking about this already a bit but for 4.0 the model tooling took all
>>> my time) which would automatically give us an EMF-Model describing our
>>> CSS-stuff whether we also use this model at runtime is something we can
>>> decide on later.
>>>
>>> Tom
>>>
>>> Am 18.07.10 15:03, schrieb Angelo zerr:
>>>> Hi,
>>>>
>>>> I don't know if it's planned but I think it should be very cool if E4
>>>> will provide a CSS Editor to manage CSS stylesheet content for the UI.
>>>> I think it should be cool if Contact Demo could add/edit new CSS
>>>> stylesheet. The user edit the CSS stylesheet, and the CSS editor
>>>> provides autompletion which give him for Text widget the CSS
>>>> properties supported. When user type some CSS styles content, the CSS
>>>> engine is refrehed and styles are applyed at runtime.I had created a
>>>> basic CSS editor into TK-UI
>>>> http://tk-ui.sourceforge.net/user-guide/cssengine.html based on
>>>> StyledText.
>>>>
>>>> Imagine you have a SWT designer, you click on SWT Widget and you go to
>>>> the CSS editor. The CSS editor give you the CSS property of the widget
>>>> into the Property View. To manage that CSS engine must manage too
>>>> supported properties into SWTElement.
>>>>
>>>> I think it should be cool if Contact Demo could add a basic CSS editor
>>>> into the demo. You will able to edit the CSS, change the CSS by typing
>>>> some content and CSS engine will be refreshed at runtime. I think for
>>>> the demo it should be cool. What do you think about that?
>>>>
>>>> Regards Angelo
>>>> _______________________________________________
>>>> e4-dev mailing list
>>>> e4-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>>
>>>
>>> --
>>> B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
>>> ------------------------------------------------------------------------
>>> tom schindl                                        geschaeftsfuehrer/CEO
>>> ------------------------------------------------------------------------
>>> eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834
>>> _______________________________________________
>>> e4-dev mailing list
>>> e4-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>>>
>> _______________________________________________
>> e4-dev mailing list
>> e4-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
> --
> B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
> ------------------------------------------------------------------------
> tom schindl                                        geschaeftsfuehrer/CEO
> ------------------------------------------------------------------------
> eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>


Back to the top