roneditor.dialogs
Class CreateHLPlaceOrTokenDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by roneditor.dialogs.CreateHLPlaceOrTokenDialog

public class CreateHLPlaceOrTokenDialog
extends org.eclipse.swt.widgets.Dialog

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.


Field Summary
private  org.eclipse.swt.widgets.Button cancelButton
           
private  boolean cancelled
           
private  org.eclipse.swt.widgets.Shell dialogShell
           
private  boolean isNetType
           
private  org.eclipse.swt.widgets.Label nameLabel
           
private  org.eclipse.swt.widgets.Text nameText
           
private  java.lang.String nameTextValue
           
private  org.eclipse.swt.widgets.Button netRadioButton
           
private  org.eclipse.swt.widgets.Button oKbutton
           
private  org.eclipse.swt.widgets.Button ruleRadioButton
           
 
Constructor Summary
CreateHLPlaceOrTokenDialog(org.eclipse.swt.widgets.Shell parent, int style)
           
 
Method Summary
private  void cancelButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)
           
private  void enterOrESCKeyReleased(org.eclipse.swt.events.KeyEvent evt)
           
protected  org.eclipse.swt.widgets.Shell getDialogShell()
           
protected  org.eclipse.swt.widgets.Text getNameText()
           
 java.lang.String getNameTextValue()
           
protected  org.eclipse.swt.widgets.Button getNetRadioButton()
           
protected  org.eclipse.swt.widgets.Button getRuleRadioButton()
           
protected  void init()
          To be implemented by subclasses to initialize the Place or Token mode!
 boolean isCancelled()
           
 boolean isNetType()
           
static void main(java.lang.String[] args)
          Auto-generated main method to display this org.eclipse.swt.widgets.Dialog inside a new Shell.
private  void netRadioButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)
           
private  void oKbuttonMouseUp(org.eclipse.swt.events.MouseEvent evt)
           
 void open()
           
private  void ruleRadioButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)
           
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialogShell

private org.eclipse.swt.widgets.Shell dialogShell

ruleRadioButton

private org.eclipse.swt.widgets.Button ruleRadioButton

cancelButton

private org.eclipse.swt.widgets.Button cancelButton

oKbutton

private org.eclipse.swt.widgets.Button oKbutton

nameText

private org.eclipse.swt.widgets.Text nameText

nameLabel

private org.eclipse.swt.widgets.Label nameLabel

netRadioButton

private org.eclipse.swt.widgets.Button netRadioButton

cancelled

private boolean cancelled

nameTextValue

private java.lang.String nameTextValue

isNetType

private boolean isNetType
Constructor Detail

CreateHLPlaceOrTokenDialog

public CreateHLPlaceOrTokenDialog(org.eclipse.swt.widgets.Shell parent,
                                  int style)
Method Detail

main

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


open

public void open()

init

protected void init()
To be implemented by subclasses to initialize the Place or Token mode!


getDialogShell

protected org.eclipse.swt.widgets.Shell getDialogShell()

getRuleRadioButton

protected org.eclipse.swt.widgets.Button getRuleRadioButton()

getNetRadioButton

protected org.eclipse.swt.widgets.Button getNetRadioButton()

getNameText

protected org.eclipse.swt.widgets.Text getNameText()

oKbuttonMouseUp

private void oKbuttonMouseUp(org.eclipse.swt.events.MouseEvent evt)

getNameTextValue

public java.lang.String getNameTextValue()

isNetType

public boolean isNetType()

cancelButtonMouseUp

private void cancelButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)

enterOrESCKeyReleased

private void enterOrESCKeyReleased(org.eclipse.swt.events.KeyEvent evt)

isCancelled

public boolean isCancelled()

netRadioButtonMouseUp

private void netRadioButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)

ruleRadioButtonMouseUp

private void ruleRadioButtonMouseUp(org.eclipse.swt.events.MouseEvent evt)