@Override public PropertyDescriptor[] getPropertyDescriptors() { Class beanClass = getBeanClass(); String[] properties = getPropertyNames(); PropertyDescriptor[] descriptors = new PropertyDescriptor[properties.length]; try { // For each property, create a property descriptor and set the // name and description using the localized data. for (int i = 0; i < descriptors.length; i++) { PropertyDescriptor newDescriptor = new PropertyDescriptor(properties[i], beanClass); if (bundle != null) { newDescriptor.setDisplayName(bundle.getString(properties[i] + ".displayName")); newDescriptor.setShortDescription(bundle.getString(properties[i] + ".shortDescription")); } descriptors[i] = newDescriptor; } return descriptors; } catch (IntrospectionException ie) { Log.error(ie.getMessage(), ie); throw new Error(ie.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor visible = new PropertyDescriptor("visible", ShowHierarchyView.class); visible.setBound(true); visible.setPropertyEditorClass(CheckboxEditor.class); visible.setDisplayName("<html><font color='green'>Show Hierarchy view"); visible.setShortDescription("Choose whether to hierarchy list view."); PropertyDescriptor rv[] = { visible }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor show = new PropertyDescriptor("show", ShowQueueViewer.class); show.setBound(true); show.setPropertyEditorClass(CheckboxEditor.class); show.setDisplayName("Show Queue Viewer:"); show.setShortDescription("Select to show the queue viewer to the user."); PropertyDescriptor rv[] = { show }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor showSearch = new PropertyDescriptor("showSearch", ShowSearch.class); showSearch.setBound(true); showSearch.setPropertyEditorClass(CheckboxEditor.class); showSearch.setDisplayName("Show Search:"); showSearch.setShortDescription("Select to present search panel to the user."); PropertyDescriptor rv[] = { showSearch }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor propName = new PropertyDescriptor("propName", TakeFirstItemInList.class); propName.setBound(true); propName.setPropertyEditorClass(PropertyNameLabelEditor.class); propName.setDisplayName("<html><font color='green'>List property:"); propName.setShortDescription("Name of the property to put the concept into. "); PropertyDescriptor rv[] = { propName }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor show = new PropertyDescriptor("show", ShowProcessBuilder.class); show.setBound(true); show.setPropertyEditorClass(CheckboxEditor.class); show.setDisplayName("Show Process Builder:"); show.setShortDescription("Select to show the process builder to the user."); PropertyDescriptor rv[] = { show }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor index = new PropertyDescriptor("index", ShowConceptTab.class); index.setBound(true); index.setPropertyEditorClass(IncrementEditor.class); index.setDisplayName("<html><font color='green'>Concept tab:"); index.setShortDescription("Index of tab to switch to. "); PropertyDescriptor rv[] = { index }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor propName = new PropertyDescriptor("propName", SetPropertyToHierarchySelectionUuid.class); propName.setBound(true); propName.setPropertyEditorClass(PropertyNameLabelEditor.class); propName.setDisplayName("<html><font color='green'>Uuid property:"); propName.setShortDescription("Name of the property containing the concept uuid. "); PropertyDescriptor rv[] = { propName }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor visible = new PropertyDescriptor("visible", ShowHistory.class); visible.setBound(true); visible.setPropertyEditorClass(CheckboxEditor.class); visible.setDisplayName("<html><font color='green'>Show history view"); visible.setShortDescription("Choose whether to show history view."); PropertyDescriptor rv[] = { visible }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor instruction = new PropertyDescriptor("instruction", InstructAndWaitStepOrCancel.class); instruction.setBound(true); instruction.setPropertyEditorClass(JTextFieldEditor.class); instruction.setDisplayName("<html><font color='green'>Instruction:"); instruction.setShortDescription("Instructions to present to the user in the workflow panel. "); PropertyDescriptor rv[] = { instruction }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor listName = new PropertyDescriptor("listName", AttachmentListEmpty.class); listName.setBound(true); listName.setPropertyEditorClass(PropertyNameLabelEditor.class); listName.setDisplayName("<html><font color='green'>Name of temporary list:"); listName.setShortDescription("Name of the temporary list."); PropertyDescriptor rv[] = { listName }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try{ PropertyDescriptor activeConceptPropName = new PropertyDescriptor("activeConceptPropName", PutArenaConceptInProperty.class); activeConceptPropName.setBound(true); activeConceptPropName.setPropertyEditorClass(PropertyNameLabelEditor.class); activeConceptPropName.setDisplayName("<html><font color='green'>Concept property:"); activeConceptPropName.setShortDescription("Name of the property containing the concept to add the rel to. "); PropertyDescriptor rv[] = {activeConceptPropName}; return rv; }catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor refsetName = new PropertyDescriptor("refsetNamePropertyKey", CreateRefset.class); refsetName.setBound(true); refsetName.setPropertyEditorClass(PropertyNameLabelEditor.class); refsetName.setDisplayName("<html><font color='green'>Refset name:"); refsetName.setShortDescription("Refset name"); PropertyDescriptor rv[] = { refsetName }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor instruction = new PropertyDescriptor("instruction", getBeanDescriptor().getBeanClass()); instruction.setBound(true); instruction.setPropertyEditorClass(JTextFieldEditor.class); instruction.setDisplayName("<html><font color='green'>Question:"); instruction.setShortDescription("Question to present to the user in the workflow panel. "); PropertyDescriptor rv[] = { instruction }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor index = new PropertyDescriptor("index", getBeanDescriptor().getBeanClass()); index.setBound(true); index.setPropertyEditorClass(IncrementEditor.class); index.setDisplayName("<html><font color='green'>Concept tab:"); index.setShortDescription("Index of tab deselect all toggles. "); PropertyDescriptor rv[] = { index }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor repoUrl = new PropertyDescriptor("repoUrl", getBeanDescriptor().getBeanClass()); repoUrl.setBound(true); repoUrl.setPropertyEditorClass(JTextFieldEditor.class); repoUrl.setDisplayName("<html><font color='green'>repoUrl:"); repoUrl.setShortDescription("The URL of the repository to be set."); PropertyDescriptor rv[] = { repoUrl }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor svnEntryString = new PropertyDescriptor("svnEntryString", getBeanDescriptor().getBeanClass()); svnEntryString.setBound(true); svnEntryString.setPropertyEditorClass(JTextFieldEditorOneLine.class); svnEntryString.setDisplayName("<html><font color='green'>Svn entry:"); svnEntryString.setShortDescription("The svn entry to process."); return new PropertyDescriptor[] { svnEntryString }; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor svnEntryString = new PropertyDescriptor("svnEntryString", getBeanDescriptor().getBeanClass()); svnEntryString.setBound(true); svnEntryString.setPropertyEditorClass(JTextFieldEditorOneLine.class); svnEntryString.setDisplayName("<html><font color='green'>Svn entry:"); svnEntryString.setShortDescription("The svn entry to process."); return new PropertyDescriptor[] { svnEntryString }; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor instruction = new PropertyDescriptor("instruction", getBeanDescriptor().getBeanClass()); instruction.setBound(true); instruction.setPropertyEditorClass(JTextFieldEditor.class); instruction.setDisplayName("<html><font color='green'>Instruction:"); instruction.setShortDescription("Instructions to present to the user in the workflow panel. "); PropertyDescriptor rv[] = { instruction }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }
public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor show = new PropertyDescriptor("show", getBeanDescriptor().getBeanClass()); show.setBound(true); show.setPropertyEditorClass(CheckboxEditor.class); show.setDisplayName("<html><font color='green'>Show signpost panel"); show.setShortDescription("Choose whether to show the signpost panel."); PropertyDescriptor rv[] = { show }; return rv; } catch (IntrospectionException e) { throw new Error(e.toString()); } }