	protected void doLaunch(ModelPackage component) {
		final String title = "Paquete " + component.getQualifiedName();
		packageNameValidator.setParent(component.getParent());
        Optional<String> name = dialogs.showInput(title, "Nombre",
				component.getName(), packageNameValidator);
        if (name.isPresent()) {
			component.setName(name.get());
		}
	}

	protected void doLaunch(ModelPackage component) {
		final String title = "Paquete " + component.getQualifiedName();
		if(!component.isRoot()) packageNameValidator.setParent(component.getParent());
        Optional<String> name = dialogs.showInput(title, "Nombre",
				component.getName(), packageNameValidator);
        if (name.isPresent()) {
			component.setName(name.get());
		}
	}
