ch.sahits.codegen.java.gui.util
Class SWTGUIHelper

java.lang.Object
  extended by ch.sahits.codegen.java.gui.util.GUIHelper
      extended by ch.sahits.codegen.java.gui.util.SWTGUIHelper

public final class SWTGUIHelper
extends GUIHelper

GUI Helper that specialized on SWT guis

Since:
0.9.4
Author:
Andi Hotz

Constructor Summary
SWTGUIHelper(IJavaForm _form)
          Initialize the form
 
Method Summary
 java.lang.String getSWTClass(IFormElement element)
          Retrieve the name of the SWT class for the form element
 java.lang.String initializeString(IFormElement element)
          Create the constructor call for the SWT elements
 
Methods inherited from class ch.sahits.codegen.java.gui.util.GUIHelper
containerFields, convertOneColumnLayout, getBrowseButtonName, getGroupType, getHiddenFields, getNumberOfColums, getParentGroup, hasButton, hasCheckBox, hasCombo, hasFileBrowse, hasHiddenFields, hasImageButton, hasInputField, hasList, hasPasswordField, hasRadioButton, hasResetButton, hasTextArea, inputFields, isCheckBoxGroup, isFileUpload, isFormGroup, isRadioGroup, isValidGroup, toFileFilter, toName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTGUIHelper

public SWTGUIHelper(IJavaForm _form)
Initialize the form

Parameters:
_form -
Method Detail

getSWTClass

public java.lang.String getSWTClass(IFormElement element)
Retrieve the name of the SWT class for the form element

Parameters:
element - to be converted
Returns:
Class name withouth the package

initializeString

public java.lang.String initializeString(IFormElement element)
Create the constructor call for the SWT elements

Parameters:
element - Element
Returns:
Constructor call