/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtContextPath() { if (_txtContextPath==null) { _txtContextPath = new JTextFieldOperator(this); } return _txtContextPath; }
/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtProjectFolder() { if (_txtProjectFolder==null) { _txtProjectFolder = new JTextFieldOperator(this, 2); } return _txtProjectFolder; }
/** Returns operator for text field 'Create Main File' * @return JTextFieldOperator */ public JTextFieldOperator txtCreateMainClass() { if ( _txtCreateMainFile==null ) { _txtCreateMainFile = new JTextFieldOperator(this, 4); } return _txtCreateMainFile; }
/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtJSPFileName() { if (_txtJSPFileName==null) { Component comp = lblJSPFileName().getLabelFor(); if (comp != null) { _txtJSPFileName = new JTextFieldOperator((JTextField) comp); } else { _txtJSPFileName = new JTextFieldOperator(this); } } return _txtJSPFileName; }
/** returns operator for combo box Folder: * @return JComboBoxOperator */ public JTextFieldOperator txtFolder() { if ( _txtFolder==null ) { _txtFolder = new JTextFieldOperator((JTextField)lblFolder().getLabelFor()); } return _txtFolder; }
/** Returns operator of text field bind to lblObjectName * @return JTextOperator */ public JTextFieldOperator txtObjectName() { if( _txtObjectName==null ) { if ( lblObjectName().getLabelFor()!=null ) { _txtObjectName = new JTextFieldOperator((JTextField)lblObjectName().getLabelFor()); } else { _txtObjectName = new JTextFieldOperator(this,0); } } return _txtObjectName; }
/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtBuildScript() { if (_txtBuildScript==null) { if (lblBuildScript().getLabelFor()!=null) { _txtBuildScript = new JTextFieldOperator( (JTextField) lblBuildScript().getLabelFor()); } else { _txtBuildScript = new JTextFieldOperator(this); } } return _txtBuildScript; }
/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtProjectName() { if (_txtProjectName==null) { if (lblProjectName().getLabelFor()!=null) { _txtProjectName = new JTextFieldOperator( (JTextField) lblProjectName().getLabelFor()); } else { _txtProjectName = new JTextFieldOperator(this, 1); } } return _txtProjectName; }
/** Tries to find null JTextField in this dialog. * @return JTextFieldOperator */ public JTextFieldOperator txtLocation() { if (_txtLocation==null) { if (lblLocation().getLabelFor()!=null) { _txtLocation = new JTextFieldOperator( (JTextField) lblLocation().getLabelFor()); } else { _txtLocation = new JTextFieldOperator(this, 3); } } return _txtLocation; }
/** Returns operator of text field bind to lblProject * @return JTextOperator */ public JTextFieldOperator txtProject() { if( _txtProject==null ) { if ( lblProject().getLabelFor()!=null ) { _txtProject = new JTextFieldOperator((JTextField)lblProject().getLabelFor()); } else { _txtProject = new JTextFieldOperator(this,1); } } return _txtProject; }
/** Returns operator of libraries folder textfield * @return JTextOperator */ public JTextFieldOperator txtLibrariesFolder() { if(_txtLirariesFolder == null) { if ( lblWebPagesFolder().getLabelFor()!=null ) { _txtLirariesFolder = new JTextFieldOperator((JTextField)lblLibrariesFolder().getLabelFor()); } } return _txtLirariesFolder; }
/** Returns operator of project folder textfield * @return JTextOperator */ public JTextFieldOperator txtProjectFolder() { if(_txtProjectFolder == null) { if ( lblProjectFolder().getLabelFor()!=null ) { _txtProjectFolder = new JTextFieldOperator( (JTextField)lblProjectFolder().getLabelFor()); } } return _txtProjectFolder; }
/** Returns operator of project location text field * @return JTextOperator */ public JTextFieldOperator txtLocation() { if(_txtLocation == null) { if (lblLocation().getLabelFor()!=null) { _txtLocation = new JTextFieldOperator( (JTextField)lblLocation().getLabelFor()); } } return _txtLocation; }
/** Returns operator of web pages folder textfield * @return JTextOperator */ public JTextFieldOperator txtWebPagesFolder() { if(_txtWebPagesFolder == null) { if ( lblWebPagesFolder().getLabelFor()!=null ) { _txtWebPagesFolder = new JTextFieldOperator((JTextField)lblWebPagesFolder().getLabelFor()); } } return _txtWebPagesFolder; }
/** Returns operator of project location text field * @return JTextOperator */ public JTextFieldOperator txtProjectLocation() { if(_txtProjectLocation == null) { if ( lblProjectLocation().getLabelFor()!=null ) { _txtProjectLocation = new JTextFieldOperator((JTextField)lblProjectLocation().getLabelFor()); } } return _txtProjectLocation; }
/** Returns operator of project name textfield * @return JTextOperator */ public JTextFieldOperator txtProjectName() { if(_txtProjectName == null) { if ( lblProjectName().getLabelFor()!=null ) { _txtProjectName = new JTextFieldOperator((JTextField)lblProjectName().getLabelFor()); } } return _txtProjectName; }
/** Returns operator of project folder textfield * @return JTextOperator */ public JTextFieldOperator txtProjectFolder() { if(_txtProjectFolder == null) { if ( lblProjectFolder().getLabelFor()!=null ) { _txtProjectFolder = new JTextFieldOperator((JTextField)lblProjectFolder().getLabelFor()); } } return _txtProjectFolder; }
/** Returns operator of project name textfield * @return JTextOperator */ public JTextFieldOperator txtProjectName() { if(_txtProjectName == null) { if ( lblProjectName().getLabelFor()!=null ) { _txtProjectName = new JTextFieldOperator( (JTextField)lblProjectName().getLabelFor()); } } return _txtProjectName; }
/** Returns operator of project location text field * @return JTextOperator */ public JTextFieldOperator txtProjectLocation() { if(_txtProjectLocation == null) { if (lblProjectLocation().getLabelFor()!=null) { _txtProjectLocation = new JTextFieldOperator( (JTextField)lblProjectLocation().getLabelFor()); } } return _txtProjectLocation; }
Action action = new Action("File|New Project", null); action.perform(); WizardOperator wo = new WizardOperator("New Project"); wo.next(); JTextFieldOperator txtName = new JTextFieldOperator( (JTextField) new JLabelOperator(wo, "Project Name:").getLabelFor()); txtName.clearText(); txtName.typeText("MyProject"); wo.finish();