public RegisterItemController(RegisterItemModelInterface model, int mode ) {
        this.model = model;
        view = new RegisterItemView(this, model);
        
        switch (mode) {
            case CREATE :
                view.disableUpdateButton();
                view.enableCreateButton();
                break;
            case UPDATE :
                view.disableCreateButton();
                view.enableUpdateButton();
                view.disableToolId();

        }
        
    }