pl.edu.agh.cast.data.ui.template
Class NewTemplateComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by pl.edu.agh.cast.data.ui.template.NewTemplateComposite
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class NewTemplateComposite
extends org.eclipse.swt.widgets.Composite

This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI Builder, which is free for non-commercial use. If Jigloo is being used commercially (ie, by a corporation, company or business for any purpose whatever) then you should purchase a license for each developer using Jigloo. Please visit www.cloudgarden.com for details. Use of Jigloo implies acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE. Main composite of the NewTemplateWizardPage.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
NewTemplateComposite(org.eclipse.swt.widgets.Composite parent, int style, NewTemplateWizardPage mediator)
          The default constructor.
 
Method Summary
 Map<String,String> getImporterOptions()
           
 int getSelectedFormat()
           
 int getSelectedModel()
           
 int getSelectedPreprocessor()
           
 String getTemplateDescription()
           
 String getTemplateName()
           
static void main(String[] args)
          Auto-generated main method to display this org.eclipse.swt.widgets.Composite inside a new Shell.
 void notifyOptionsChange()
          Notifies when importer options are modified.
 void setInputFilePreview(String fileContent)
          Sets the specified input file content as the file preview.
 void setNameExists(boolean tmplNameExists)
          Sets the templateNameExists label's visibility to the value of the specified flag.
static void showGUI()
          Auto-generated method to display this org.eclipse.swt.widgets.Composite inside a new Shell.
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewTemplateComposite

public NewTemplateComposite(org.eclipse.swt.widgets.Composite parent,
                            int style,
                            NewTemplateWizardPage mediator)
The default constructor.

Parameters:
parent - the parent composite
style - the style of widget to construct
mediator - the mediating wizard page
Method Detail

main

public static void main(String[] args)
Auto-generated main method to display this org.eclipse.swt.widgets.Composite inside a new Shell.

Parameters:
args - arguments for the main method

showGUI

public static void showGUI()
Auto-generated method to display this org.eclipse.swt.widgets.Composite inside a new Shell.


notifyOptionsChange

public void notifyOptionsChange()
Notifies when importer options are modified.


getSelectedModel

public int getSelectedModel()

getSelectedFormat

public int getSelectedFormat()

getSelectedPreprocessor

public int getSelectedPreprocessor()

getTemplateName

public String getTemplateName()

setNameExists

public void setNameExists(boolean tmplNameExists)
Sets the templateNameExists label's visibility to the value of the specified flag.

Parameters:
tmplNameExists - the template name exists flag

getImporterOptions

public Map<String,String> getImporterOptions()

getTemplateDescription

public String getTemplateDescription()

setInputFilePreview

public void setInputFilePreview(String fileContent)
Sets the specified input file content as the file preview. If the file content is empty, an appropriate message about the preview not being available is being displayed.

Parameters:
fileContent - the input file preview content


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.