add button icons.
Change-Id: I938fb05e4f71da7cec0d40feb0c9644c4a29eefc
Signed-off-by: parary <kyunghan80.park@samsung.com>
public static final String DATABINDING_ARRAYITEM_VALUE_SUFFIX = ", attr: { 'data-index': $index }"; //$NON-NLS-1$
public static final String DATABINDING_TYPE_STATIC = "Static"; //$NON-NLS-1$
public static final String DATABINDING_TYPE_REMOTECALL = "Remote Call"; //$NON-NLS-1$
- public static final String DATABINDING_ARRAY_ICON = "temp.png"; //$NON-NLS-1$
+ public static final String DATABINDING_ARRAY_ICON = "databinding/array.png"; //$NON-NLS-1$
+ public static final String DATABINDING_NUMBER_ICON = "databinding/number.png"; //$NON-NLS-1$
+ public static final String DATABINDING_INDEX_ICON = "databinding/index.png"; //$NON-NLS-1$
+ public static final String DATABINDING_STRING_ICON = "databinding/string.png"; //$NON-NLS-1$
+ public static final String DATABINDING_BOOLEAN_ICON = "databinding/boolean.png"; //$NON-NLS-1$
+ public static final String DATABINDING_UNDEFINED_ICON = "databinding/undefined.png"; //$NON-NLS-1$
+ public static final String DATABINDING_OBJECT_ICON = "databinding/object.png"; //$NON-NLS-1$
+ public static final String DATABINDING_FORMAT_STRING_ICON = "databinding/format_string.png"; //$NON-NLS-1$
+ public static final String DATABINDING_COMPACT_STRING_ICON = "databinding/compact_string.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_COLLAPSE_ALL_ICON = "databinding/collapseallfields.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_EXPAND_ALL_ICON = "databinding/expandallfields.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_ADD_ICON = "databinding/add.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_UP_ICON = "databinding/up.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_DOWN_ICON = "databinding/down.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_REMOVE_ICON = "databinding/remove.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_REMOVE_ALL_ICON = "databinding/removeall.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_VIEW_SOURCE_ICON = "databinding/view_source.png"; //$NON-NLS-1$
+ public static final String DATABINDING_DATA_VIEW_TREE_ICON = "databinding/view_tree.png"; //$NON-NLS-1$
+ public static final String DATABINDING_OPEN_ICON = "databinding/open.png"; //$NON-NLS-1$
+ public static final String DATABINDING_RELOAD_ICON = "databinding/reload.png"; //$NON-NLS-1$
+ public static final String DATABINDING_CLEAR_ICON = "databinding/clear.png"; //$NON-NLS-1$
+ public static final String DATABINDING_IMPORT_ICON = "databinding/import.png"; //$NON-NLS-1$
+ public static final String DATABINDING_LOAD_ICON = "databinding/load.png"; //$NON-NLS-1$
+
+
public static final String DATABINDING_BINDING_ICON = "link.png"; //$NON-NLS-1$
public static final String DATABINDING_BINDING_IMAGE = "link_image.png"; //$NON-NLS-1$
public static final String DATABINDING_HIDE_ICON = "binding_hide.png"; //$NON-NLS-1$
public static final String DATABINDING_SHOW_ICON = "binding_show.png"; //$NON-NLS-1$
public static final String DATABINDING_RENAME_ICON = "rename.png"; //$NON-NLS-1$
- public static final String DATABINDING_STRING_ICON = "empty.png"; //$NON-NLS-1$
public static final String DATABINDING_DATASOURCE_DIALOG_ICON = "datasource_open.png"; //$NON-NLS-1$
public static final String DATABINDING_DATASOURCE_ADD_ICON = "datasource_add.png"; //$NON-NLS-1$
public static final String DATABINDING_DATASOURCE_DELETE_ICON = "datasource_delete.png"; //$NON-NLS-1$
import org.eclipse.swt.widgets.TreeItem;
import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import org.tizen.webuibuilder.utility.ResourceUtil;
import com.google.gson.Gson;
calendarType = (CCombo) typeComposite.getData();
- Button laodButton = new Button(settingComposite, SWT.PUSH);
- laodButton.setText("L");
- laodButton.setToolTipText( "Load" );
+ Button loadButton = new Button(settingComposite, SWT.PUSH);
+ loadButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_LOAD_ICON ) );
+ loadButton.setToolTipText( "Load" );
data = new FormData(25, 25);
data.bottom = new FormAttachment(100, 0);
data.right = new FormAttachment(100, 5);
- laodButton.setLayoutData(data);
+ loadButton.setLayoutData(data);
final SourceDialogSubPage subPage = this;
- laodButton.addSelectionListener(new SelectionAdapter() {
+ loadButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
for( Control control : parentDataTree.getChildren() ){
data = new FormData();
data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(laodButton, -10);
+ data.right = new FormAttachment(loadButton, -10);
data.bottom = new FormAttachment(100, -20);
descComposite.setLayoutData(data);
import org.eclipse.swt.widgets.TreeItem;
import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import org.tizen.webuibuilder.utility.ResourceUtil;
import com.google.gson.Gson;
data.right = new FormAttachment(100, 0);
orderComposite.setLayoutData(data);
- Button laodButton = new Button(settingComposite, SWT.PUSH);
- laodButton.setText("L");
- laodButton.setToolTipText( "Load" );
+ Button loadButton = new Button(settingComposite, SWT.PUSH);
+ loadButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_LOAD_ICON ) );
+ loadButton.setToolTipText( "Load" );
data = new FormData(25, 25);
data.bottom = new FormAttachment(100, 0);
data.right = new FormAttachment(100, 5);
- laodButton.setLayoutData(data);
+ loadButton.setLayoutData(data);
final SourceDialogSubPage subPage = this;
- laodButton.addSelectionListener(new SelectionAdapter() {
+ loadButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
for( Control control : parentDataTree.getChildren() ){
data = new FormData();
data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(laodButton, -10);
+ data.right = new FormAttachment(loadButton, -10);
data.bottom = new FormAttachment(100, -20);
descComposite.setLayoutData(data);
import org.eclipse.swt.widgets.TreeItem;
import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import org.tizen.webuibuilder.utility.ResourceUtil;
import com.google.gson.Gson;
data.right = new FormAttachment(100, 0);
idComposite.setLayoutData(data);
- Button laodButton = new Button(settingComposite, SWT.PUSH);
- laodButton.setText("L");
- laodButton.setToolTipText( "Load" );
+ Button loadButton = new Button(settingComposite, SWT.PUSH);
+ loadButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_LOAD_ICON ) );
+ loadButton.setToolTipText( "Load" );
data = new FormData(25, 25);
data.bottom = new FormAttachment(100, 0);
data.right = new FormAttachment(100, 5);
- laodButton.setLayoutData(data);
+ loadButton.setLayoutData(data);
final SourceDialogSubPage subPage = this;
- laodButton.addSelectionListener(new SelectionAdapter() {
+ loadButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
for( Control control : parentDataTree.getChildren() ){
data = new FormData();
data.left = new FormAttachment(0, 0);
- data.right = new FormAttachment(laodButton, -10);
+ data.right = new FormAttachment(loadButton, -10);
data.bottom = new FormAttachment(100, -20);
descComposite.setLayoutData(data);
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.PlatformUI;
import org.mozilla.javascript.edu.emory.mathcs.backport.java.util.Arrays;
+import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Button loadButton = new Button( settingComposite, SWT.PUSH );
- loadButton.setText( "L" );
+ loadButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_LOAD_ICON ) );
loadButton.setToolTipText( "Load" );
FormData data = new FormData( 25, 25 );
data.right = new FormAttachment(loadButton, -3);
button.setLayoutData(data);
- button.setText( "I" );
+ button.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_IMPORT_ICON ) );
button.setToolTipText( "Import File" );
button.addSelectionListener(new SelectionAdapter(){
careteTreeItem( treeItem, entry.getKey(), null, "Undefined" );
if ( includeIndex )
- Helper.addComboInTreeItem( treeItem, "String", currentSubPage );
+ Helper.addComboInTreeItem( treeItem, "Undefined", currentSubPage );
makeTreeItem( entry.getValue(), tree, treeItem, includeIndex, currentSubPage );
String imageName = null;
- // if( type.equals("Boolean") ){
- // imageName = null;
- // }else if( type.equals( "Number" ) ){
- // imageName = null;
- // }else if( type.equals( "String" ) ){
- // imageName = null;
- // }else if( type.equals( "Array" ) ){
- // imageName = "temp.png";
- // }else if( type.equals( "Index" ) ){
- // imageName = null;
- // }else{
- // imageName = null;
- // }
-
if ( type.equals( "Array" ) ) {
imageName = BuilderConstants.DATABINDING_ARRAY_ICON;
+ }else if ( type.equals( "Number" ) ) {
+ imageName = BuilderConstants.DATABINDING_NUMBER_ICON;
+ }else if ( type.equals( "String" ) ) {
+ imageName = BuilderConstants.DATABINDING_STRING_ICON;
+ }else if ( type.equals( "Index" ) ) {
+ imageName = BuilderConstants.DATABINDING_INDEX_ICON;
+ }else if ( type.equals( "Object" ) ) {
+ imageName = BuilderConstants.DATABINDING_OBJECT_ICON;
+ }else if ( type.equals( "Boolean" ) ) {
+ imageName = BuilderConstants.DATABINDING_BOOLEAN_ICON;
+ }else{
+ imageName = BuilderConstants.DATABINDING_UNDEFINED_ICON;
}
if ( imageName != null ) {
}
}
- public static JsonObject getJsonByScript( String xml ) {
- // IEditorPart editor =
- // PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
- // .getActiveEditor();
- //
- // if ( editor != null && editor instanceof PageDesigner ) {
- // pageDesigner = (PageDesigner) editor;
- // }
-
- // String jsonString = pageDesigner.getViewer().getGoingBridge().xmlToJson( "test" );
- String jsonString = null;
-
- return gson.fromJson( jsonString, JsonObject.class );
- }
-
public static JsonObject getJsonFromXML( String xml ) {
Document doc = parseXML( xml );
Combo combo = new Combo( item.getParent(), SWT.SINGLE | SWT.READ_ONLY );
treeEditor.setEditor( combo, item, 2 );
- final String[] comboItems = { "String", "Number", "Boolean", "Object", "Array" };
+ final String[] comboItems = { "String", "Number", "Boolean", "Object", "Array", "Undefined" };
combo.setVisibleItemCount( comboItems.length );
combo.setItems( comboItems );
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeItem;
+import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
data.left = new FormAttachment( 0, 0 );
settingComposite.setLayoutData( data );
- Button laodButton = new Button( settingComposite, SWT.PUSH );
- laodButton.setText( "L" );
- laodButton.setToolTipText( "Load" );
+ Button loadButton = new Button( settingComposite, SWT.PUSH );
+ loadButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_LOAD_ICON ) );
+ loadButton.setToolTipText( "Load" );
data = new FormData( 25, 25 );
data.bottom = new FormAttachment( 100, 0 );
data.right = new FormAttachment( 100, 5 );
- laodButton.setLayoutData( data );
+ loadButton.setLayoutData( data );
- laodButton.addSelectionListener( new SelectionAdapter() {
+ loadButton.addSelectionListener( new SelectionAdapter() {
@Override
public void widgetSelected( SelectionEvent e ) {
data = new FormData();
data.top = new FormAttachment( 0, 0 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
urlComposite.setLayoutData( data );
urlText = (Text) urlComposite.getData();
data = new FormData();
data.top = new FormAttachment( urlComposite, 5 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
methodComposite.setLayoutData( data );
methodSettingCombo = (CCombo) methodComposite.getData();
data = new FormData();
data.top = new FormAttachment( methodComposite, 5 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
proxyComposite.setLayoutData( data );
proxySettingCombo = (CCombo) proxyComposite.getData();
data = new FormData();
data.top = new FormAttachment( proxyComposite, 5 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
sourceTypeComposite.setLayoutData( data );
sourceTypeCombo = (CCombo) sourceTypeComposite.getData();
data = new FormData();
data.top = new FormAttachment( sourceTypeComposite, 5 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
timeoutComposite.setLayoutData( data );
timeoutText = (Text) timeoutComposite.getData();
data = new FormData();
data.top = new FormAttachment( timeoutComposite, 5 );
data.left = new FormAttachment( 0, 0 );
- data.right = new FormAttachment( laodButton, -3 );
- data.bottom = new FormAttachment( laodButton, -3 );
+ data.right = new FormAttachment( loadButton, -3 );
+ data.bottom = new FormAttachment( loadButton, -3 );
queryComposite.setLayoutData( data );
makeSourceStyledText( parentDataTree.getParent() );
label.setLayoutData( data );
Button remove = new Button( subComposite, SWT.PUSH );
- remove.setText( "-" );
+ remove.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_REMOVE_ICON ) );
remove.setToolTipText( "Remove" );
remove.addSelectionListener( new SelectionAdapter() {
remove.setLayoutData( data );
Button add = new Button( subComposite, SWT.PUSH );
- add.setText( "+" );
+ add.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_ADD_ICON ) );
add.setToolTipText( "Add" );
add.addSelectionListener( new SelectionAdapter() {
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
import org.eclipse.swt.widgets.TreeItem;
+import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingObject;
import org.tizen.webuibuilder.ui.views.databinding.model.TreeItemData;
+import org.tizen.webuibuilder.utility.ResourceManager;
public class SetSourcePage extends Dialog {
private void makeDataButtons( Composite dataGroup ) {
Button expandAllButton = new Button(dataGroup, SWT.PUSH);
- expandAllButton.setText("E");
+ expandAllButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_EXPAND_ALL_ICON ) );
expandAllButton.setToolTipText( "Expand All Fields" );
FormData data = new FormData();
expandAllButton.addSelectionListener( adapter );
Button collapseAllButton = new Button(dataGroup, SWT.PUSH);
- collapseAllButton.setText("C");
+ collapseAllButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_COLLAPSE_ALL_ICON ) );
collapseAllButton.setToolTipText( "Collapse All Fields" );
collapseAllButton.setData( "expand", false );
collapseAllButton.addSelectionListener( adapter );
dataButtonMap.put("collapseAll", collapseAllButton);
Button addTreeItemButton = new Button(dataGroup, SWT.PUSH);
- addTreeItemButton.setText("A");
+ addTreeItemButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_ADD_ICON ) );
addTreeItemButton.setToolTipText("Add");
data = new FormData(25, 25);
dataButtonMap.put("addTreeItem", addTreeItemButton);
Button upTreeItemButton = new Button(dataGroup, SWT.PUSH);
- upTreeItemButton.setText("U");
+ upTreeItemButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_UP_ICON ) );
upTreeItemButton.setToolTipText("Up");
data = new FormData(25, 25);
dataButtonMap.put("upTreeItem", upTreeItemButton);
Button downTreeItemButton = new Button(dataGroup, SWT.PUSH);
- downTreeItemButton.setText("D");
+ downTreeItemButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_DOWN_ICON ) );
downTreeItemButton.setToolTipText("Down");
data = new FormData(25, 25);
dataButtonMap.put("downTreeItem", downTreeItemButton);
Button removeTreeItemButton = new Button(dataGroup, SWT.PUSH);
- removeTreeItemButton.setText("R");
+ removeTreeItemButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_REMOVE_ICON ) );
removeTreeItemButton.setToolTipText("Remove");
data = new FormData(25, 25);
dataButtonMap.put("removeTreeItem", removeTreeItemButton);
Button removeAllTreeItemButton = new Button(dataGroup, SWT.PUSH);
- removeAllTreeItemButton.setText("RA");
+ removeAllTreeItemButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_REMOVE_ALL_ICON ) );
removeAllTreeItemButton.setToolTipText("Remove All");
data = new FormData(25, 25);
dataButtonMap.put("removeAllTreeItem", removeAllTreeItemButton);
Button conversionButtonBetweenTreeAndText = new Button(dataGroup, SWT.TOGGLE);
- conversionButtonBetweenTreeAndText.setText("V");
+ conversionButtonBetweenTreeAndText.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_VIEW_SOURCE_ICON ) );
conversionButtonBetweenTreeAndText.setToolTipText("View Source");
data = new FormData(25, 25);
if (button.getSelection()) {
button.setToolTipText( "View Tree" );
dataStackLayout.topControl = remoteCallSubPage.getDataSourceStyledText();
+ button.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_VIEW_TREE_ICON ) );
} else {
dataStackLayout.topControl = dialogTree;
button.setToolTipText( "View Source" );
+ button.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_DATA_VIEW_SOURCE_ICON ) );
}
currentSubPage.setButtonsState(dataButtonMap);
dialogTree.getParent().layout();
import org.eclipse.ui.internal.registry.EditorDescriptor;
import org.eclipse.ui.texteditor.ITextEditorActionConstants;
import org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditor;
+import org.tizen.webuibuilder.BuilderConstants;
import org.tizen.webuibuilder.ui.editor.MemoryEditorInput;
import org.tizen.webuibuilder.ui.editor.PageDesigner;
import org.tizen.webuibuilder.ui.views.databinding.model.BindingData;
+import org.tizen.webuibuilder.utility.ResourceManager;
import org.w3c.dom.Document;
import com.google.gson.Gson;
compactData = normalGson.toJson( obj );
}else{
obj = Helper.parseXML( text );
- compactData = text.replaceAll( ">\\s*<", "><" ).replace( "\r\n", "" ).replaceAll("\"", "'");
+ compactData = text.replaceAll( ">\\s*<", "><" ).replace( "\r\n", "" ).replace( "\n", "" );
}
}catch(Exception e){}
sashForm.setWeights( new int[] { 2, 3 } );
Button formatButton = new Button( subSettingComposite, SWT.PUSH );
- formatButton.setText( "F" );
formatButton.setToolTipText( "Formated Data" );
+ formatButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_FORMAT_STRING_ICON ) );
data = new FormData();
data.top = new FormAttachment( 2, 0 );
} );
Button compactButton = new Button( subSettingComposite, SWT.PUSH );
- compactButton.setText( "C" );
+ compactButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_COMPACT_STRING_ICON ) );
compactButton.setToolTipText( "Compacted Data" );
data = new FormData();
});
Button openFileButton = new Button( subSettingComposite, SWT.PUSH );
- openFileButton.setText( "O" );
+ openFileButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_OPEN_ICON ) );
openFileButton.setToolTipText( "Open" );
data = new FormData( 25, 25 );
openFileButton.addSelectionListener( fileOpenSelectionAdapter );
Button reloadFileButton = new Button( subSettingComposite, SWT.PUSH );
- reloadFileButton.setText( "R" );
+ reloadFileButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_RELOAD_ICON ) );
reloadFileButton.setToolTipText( "Reload" );
data = new FormData( 25, 25 );
reloadFileButton.addSelectionListener( fileOpenSelectionAdapter );
Button clearButton = new Button( subSettingComposite, SWT.PUSH );
- clearButton.setText( "C" );
+ clearButton.setImage( ResourceManager.getImage( BuilderConstants.ICON_DIR, BuilderConstants.DATABINDING_CLEAR_ICON ) );
clearButton.setToolTipText( "Clear" );
data = new FormData( 25, 25 );