42 lines
1.7 KiB
Java
42 lines
1.7 KiB
Java
|
|
/*
|
||
|
|
* Copyright (c) 2005,2007 Declarative Engineering LLC.
|
||
|
|
* All rights reserved. This program and the accompanying materials
|
||
|
|
* are made available under the terms of the Declarative Engineering LLC
|
||
|
|
* verson 1 which accompanies this distribution, and is available at
|
||
|
|
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
||
|
|
*/
|
||
|
|
package com.foundation.view.swt.builder;
|
||
|
|
|
||
|
|
import com.common.util.IHashMap;
|
||
|
|
import com.common.util.LiteHashMap;
|
||
|
|
import com.foundation.view.builder.IViewSourceBuilder;
|
||
|
|
import com.foundation.view.definition.IComponentData;
|
||
|
|
|
||
|
|
public abstract class TreeComponentBuilder extends CollectionComponentBuilder {
|
||
|
|
protected static final IHashMap styleMap = new LiteHashMap(CollectionComponentBuilder.styleMap);
|
||
|
|
protected static final IHashMap linkMap = new LiteHashMap(CollectionComponentBuilder.linkMap);
|
||
|
|
/**
|
||
|
|
* TreeComponentBuilder constructor.
|
||
|
|
*/
|
||
|
|
public TreeComponentBuilder() {
|
||
|
|
super();
|
||
|
|
}//TreeComponentBuilder()//
|
||
|
|
/* (non-Javadoc)
|
||
|
|
* @see com.foundation.view.builder.IBuilder#appendInitializationBody(com.foundation.view.builder.IViewSourceBuilder, java.lang.StringBuffer, com.foundation.view.definition.ComponentData, java.lang.String)
|
||
|
|
*/
|
||
|
|
public void appendInitializationBody(IViewSourceBuilder viewBuilder, StringBuffer buffer, IComponentData data, String variableName) {
|
||
|
|
super.appendInitializationBody(viewBuilder, buffer, data, variableName);
|
||
|
|
}//appendInitializationBody()//
|
||
|
|
/* (non-Javadoc)
|
||
|
|
* @see com.foundation.view.swt.builder.AbstractBuilder#getStyleMap()
|
||
|
|
*/
|
||
|
|
public IHashMap getStyleMap() {
|
||
|
|
return styleMap;
|
||
|
|
}//getStyleMap()//
|
||
|
|
/* (non-Javadoc)
|
||
|
|
* @see com.foundation.view.swt.builder.AbstractBuilder#getLinkMap()
|
||
|
|
*/
|
||
|
|
public IHashMap getLinkMap() {
|
||
|
|
return linkMap;
|
||
|
|
}//getLinkMap()//
|
||
|
|
}//TreeComponentBuilder//
|