/** * Create a search procedure area.<br> * * @param checkItemGroup Group */ private void makeSearchProgressArea(Group checkItemGroup) { Label searchProcess = new Label(checkItemGroup, SWT.NULL); searchProcess.setText(ResourceUtil.searchProcess); searchProcess.setLayoutData(ControlUtil.getTopGridData()); searchProcessText = new Text(checkItemGroup, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.WRAP); searchProcessText.setLayoutData(ControlUtil.getThreeColumnGridData(searchProcessText)); searchProcessText.addKeyListener(new DirtyListener(super.getEditor())); }
/** {@inheritDoc} */ @Override protected void makeFormPart(Composite composite) { checkItemGroup = ControlUtil.createGroup(composite, SWT.NONE | SWT.SCROLL_LINE, CmnStringUtil.EMPTY); checkItemGroup.setLayout(new GridLayout(2, false)); checkItemGroup.setLayoutData(ControlUtil.getAutoSizingHorizontalGridData()); makeCheckItemArea(checkItemGroup); }
/** * Create a search area of implementation.<br> * * @param checkItemGroup Group */ private void makeSearchExistanceArea(Group checkItemGroup) { Label searchExistance = new Label(checkItemGroup, SWT.NULL); searchExistance.setText(ResourceUtil.searchExistance); searchExistance.setLayoutData(ControlUtil.getTopGridData()); searchExistanceButton = new Button(checkItemGroup, SWT.CHECK); searchExistanceButton.setLayoutData(ControlUtil.getTopGridData()); searchExistanceButton.addSelectionListener(new DirtyListener(super.getEditor())); }
/** * Create an area of transplant difficulty.<br> * * @param checkItemGroup Group */ private void makePortabilityDegreeArea(Group checkItemGroup) { Label portabilityDegree = new Label(checkItemGroup, SWT.NULL); portabilityDegree.setText(ResourceUtil.portabilityDegree); portabilityDegree.setLayoutData(ControlUtil.getTopGridData()); portabilityDegreeCombo = new Combo(checkItemGroup, SWT.READ_ONLY); ControlUtil.addComboBoxItem(PortabilityDegreeEnum.values(), portabilityDegreeCombo); portabilityDegreeCombo.setLayoutData(ControlUtil.getTopGridData()); portabilityDegreeCombo.addSelectionListener(new DirtyListener(super.getEditor())); }
/** * Create an area of more transplant difficulty.<br> * * @param checkItemGroup Group */ private void makeDegreeDetailArea(Group checkItemGroup) { Label degreeDetail = new Label(checkItemGroup, SWT.NULL); degreeDetail.setText(ResourceUtil.degreeDetail); degreeDetail.setLayoutData(ControlUtil.getTopGridData()); degreeDetailCombo = new Combo(checkItemGroup, SWT.READ_ONLY); ControlUtil.addComboBoxItem(DegreeDetailEnum.values(), degreeDetailCombo); degreeDetailCombo.setLayoutData(ControlUtil.getTopGridData()); degreeDetailCombo.addSelectionListener(new DirtyListener(super.getEditor())); }
/** * Create an area of visual confirmation.<br> * * @param checkItemGroup Group */ private void makeVisualConfirmArea(Group checkItemGroup) { Label visualConfirm = new Label(checkItemGroup, SWT.NULL); visualConfirm.setText(ResourceUtil.visualConfirm); visualConfirm.setLayoutData(ControlUtil.getTopGridData()); visualConfirmText = new Text(checkItemGroup, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.WRAP); visualConfirmText.setLayoutData(ControlUtil.getThreeColumnGridData(visualConfirmText)); visualConfirmText.addKeyListener(new DirtyListener(super.getEditor())); }
/** * Create an area of transplant factors.<br> * * @param checkItemGroup Group */ private void makeProtabilityFactorArea(Group checkItemGroup) { Label protabilityFactor = new Label(checkItemGroup, SWT.NULL); protabilityFactor.setText(ResourceUtil.protabilityFactor); protabilityFactor.setLayoutData(ControlUtil.getTopGridData()); portabilityFactorCombo = new Combo(checkItemGroup, SWT.READ_ONLY); ControlUtil.addComboBoxItem(PortabilityFactorEnum.values(), portabilityFactorCombo); // CheckStyle magic number portabilityFactorCombo.setLayoutData(ControlUtil.getSizingHorizontalGridData(150)); portabilityFactorCombo.addSelectionListener(new DirtyListener(super.getEditor())); }