pl.edu.agh.cast.ui.dialogs
Class CreateProjectDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by pl.edu.agh.cast.ui.dialogs.CreateProjectDialog

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

Dialog used for creating a new project.

Author:
Adam Wos

Constructor Summary
CreateProjectDialog(org.eclipse.swt.widgets.Shell parent, int style, java.lang.String dialogTitle, java.lang.String dialogPrompt, java.lang.String locationPrompt)
           
 
Method Summary
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 void open(java.lang.String currentName)
          Opens dialog with current name specified for changes.
 boolean wasCancelled()
           
 
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
 

Constructor Detail

CreateProjectDialog

public CreateProjectDialog(org.eclipse.swt.widgets.Shell parent,
                           int style,
                           java.lang.String dialogTitle,
                           java.lang.String dialogPrompt,
                           java.lang.String locationPrompt)
Parameters:
parent - parent shell
style - SWT window style
dialogTitle - title of dialog window
errorMsg - message shown when new name match one of names specified on list set 'with setExistLabelList'
locationPrompt -
Method Detail

getName

public java.lang.String getName()

wasCancelled

public boolean wasCancelled()

open

public void open(java.lang.String currentName)
Opens dialog with current name specified for changes.

Parameters:
currentName -

getLocation

public java.lang.String getLocation()


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.