JBIDE-18670 HTML5 Palette: Palette model refactoring

new palette model implemented
Done
On 11/20/2014 12:43 PM, scabanovich wrote:
>
> In 
> plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/palette/internal/html/IPaletteVersionGroup.java:
>
> > +	
> > +	/**
> > +	 * Sets parent palette element
> > +	 *
> > +	 * @see IPaletteGroup
> > +	 *
> > +	 * @param group
> > +	 */
> > +	public void setGroup(IPaletteGroup group);
> > +	
> > +	/**
> > +	 * Returns name of version
> > +	 *
> > +	 * @return version
> > +	 */
> > +	public String getVersion();
>
> Can we make one more step to object model and replace String version 
> with IHTMLLibraryVersion version?
> Then
>
>   * IPaletteGroup, IPaletteVersionGroup, IPaletteCategory should
>     declare type parameter: public interface IPaletteVersionGroup and
>     use that parameter whereever it is relevant.
>   * JQueryMobileRecognizer.getVersion() should return IHTMLLibraryVersion.
>   * PagePaletteContents and its inner classes should work with
>     IHTMLLibraryVersion instead of String.
>   * JQueryMobileVersionPopUp.ItemFigure can easily work with
>     IHTMLLibraryVersion and for label call its toString().
>   * etc.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/jbosstools/jbosstools-jst/pull/406/files#r20675864>.
>