You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These pages have key listeners to know when they are done. CNRequirements and CNConstraints register themselves as listeners and this verification happens in the method keyReleased(), whereas CNProject adds an anonymous key listener in method createControl().
These listeners are supposed to check the contents of the fields as they are typed and indicate if the page can be considered complete (setPageComplete()). Currently, they only check if the fields are filled.
Implement further checks and add little error messages next to the fields like Eclipse does. Here are some of these possible checks (think if there are more):
Check if the project or file being created already exists;
Check if names don't contain spaces (don't know if this is a real problem, but better avoid it);
Requirements and constraints have default extensions, so check if the user is specifying them, saying that she shouldn't (it's added automatically).
The text was updated successfully, but these errors were encountered:
Unagi (at the time of this issue creation) has three "Create New ..." wizards, whose basic pages are:
it.unitn.disi.unagi.rcpapp.wizards.CreateNewConstraintsFileBasicWizardPage
it.unitn.disi.unagi.rcpapp.wizards.CreateNewProjectBasicWizardPage
it.unitn.disi.unagi.rcpapp.wizards.CreateNewRequirementsModelBasicWizardPage
These pages have key listeners to know when they are done. CNRequirements and CNConstraints register themselves as listeners and this verification happens in the method
keyReleased()
, whereas CNProject adds an anonymous key listener in methodcreateControl()
.These listeners are supposed to check the contents of the fields as they are typed and indicate if the page can be considered complete (
setPageComplete()
). Currently, they only check if the fields are filled.Implement further checks and add little error messages next to the fields like Eclipse does. Here are some of these possible checks (think if there are more):
The text was updated successfully, but these errors were encountered: