IDE-1602 new layout template editor using sapphire

- first commit for reviewing model and ui editor
- without improving unit tests of services and listeners
Legacy could be another subclass.

On Mon, Sep 22, 2014 at 11:15 AM, Kuo Zhang <notifications@github.com>
wrote:

> In
> tools/plugins/com.liferay.ide.layouttpl.core/src/com/liferay/ide/layouttpl/core/model/LayoutTplDiagramElement.java:
>
> > +
> > +    // *** Class Name ***
> > +
> > +    @Required
> > +    ValueProperty PROP_ClASS_NAME = new ValueProperty( TYPE, "ClassName" );
> > +
> > +    Value<String> getClassName();
> > +    void setClassName( String className );
> > +
> > +    // *** Style ***
> > +
> > +    // only two styles, use Boolean, if there are more styles in the future, use Enum type
> > +    @Required
> > +    @Type( base = Boolean.class )
> > +    @DefaultValue( text = "true" )
> > +    ValueProperty PROP_BOOTSTRAP_STYLE = new ValueProperty( TYPE, "BootstrapStyle" );
>
> so how about for the legacy, another subclass or the base class?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/gamerson/liferay-ide/pull/677/files#r17831368>.
>



-- 
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com