@Override public BeanDescriptor getBeanDescriptor() { BeanDescriptor descriptor = new BeanDescriptor(getBeanClass()); try { // Attempt to load the displayName and shortDescription explicitly. String displayName = bundle.getString("displayName"); if (displayName != null) { descriptor.setDisplayName(displayName); } String shortDescription = bundle.getString("shortDescription"); if (shortDescription != null) { descriptor.setShortDescription(shortDescription); } // Add any other properties that are specified. Enumeration enumeration = bundle.getKeys(); while (enumeration.hasMoreElements()) { String key = (String)enumeration.nextElement(); String value = bundle.getString(key); if (value != null) { descriptor.setValue(key, value); } } } catch (Exception e) { // Ignore any exceptions. We may get some if we try to load a // a property that doesn't appear in the resource bundle. } return descriptor; }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.Filter.class, FilterCustomizer.class); } }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.DataVisualizer.class, DataVisualizerCustomizer.class); } }
public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.ClassAssigner.class, ClassAssignerCustomizer.class); } }
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( nl.cloudfarming.client.util.swing.InlineEditLabel.class , null ); // NOI18N//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor // Property identifiers//GEN-FIRST:Properties
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( nl.cloudfarming.client.model.ProductionUnit.class , null ); // NOI18N//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor // Property identifiers//GEN-FIRST:Properties
public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.Note.class, weka.gui.beans.NoteCustomizer.class); } }
/** * Return the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.IncrementalClassifierEvaluator.class, IncrementalClassifierEvaluatorCustomizer.class); } }
/** * Return the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.PredictionAppender.class, PredictionAppenderCustomizer.class); } }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.TrainTestSplitMaker.class, TrainTestSplitMakerCustomizer.class); } }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(SubstringReplacer.class, SubstringReplacerCustomizer.class); } }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.SerializedModelSaver.class, SerializedModelSaverCustomizer.class); } }
/** * Get the bean descriptor for this bean * * @return a <code>BeanDescriptor</code> value */ public BeanDescriptor getBeanDescriptor() { return new BeanDescriptor(weka.gui.beans.Associator.class, AssociatorCustomizer.class); } }
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( nl.cloudfarming.client.util.swing.InlineEditLabel.class , null ); // NOI18N//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor // Property identifiers//GEN-FIRST:Properties
private static BeanDescriptor getBdescriptor(){ BeanDescriptor beanDescriptor = new BeanDescriptor ( nl.cloudfarming.client.util.swing.BoundInlineEditLabel.class , null ); // NOI18N//GEN-HEADEREND:BeanDescriptor // Here you can add code for customizing the BeanDescriptor. return beanDescriptor; }//GEN-LAST:BeanDescriptor // Property identifiers//GEN-FIRST:Properties
private CompositeComponentBeanInfo _createCompositeComponentMetadata(UIComponent parent) { BeanDescriptor descriptor = new BeanDescriptor(parent.getClass()); CompositeComponentBeanInfo beanInfo = new CompositeComponentBeanInfo(descriptor); return beanInfo; } }
/** * @see java.beans.BeanInfo#getBeanDescriptor() */ public BeanDescriptor getBeanDescriptor() { BeanDescriptor bd = new BeanDescriptor(ChooseBusinessProcessFile.class); bd.setDisplayName("<html><font color='green'><center>Choose Business Process"); return bd; }
@Override public BeanDescriptor getBeanDescriptor() { final BeanDescriptor descriptor = new BeanDescriptor(None.class, null); descriptor.setValue("persistenceDelegate", new NonePersistenceDelegate()); return descriptor; } }
@Override public BeanDescriptor getBeanDescriptor() { final BeanDescriptor descriptor = new BeanDescriptor(Some.class, null); descriptor.setValue("persistenceDelegate", new SomePersistenceDelegate()); return descriptor; } }
@Override public BeanDescriptor getBeanDescriptor() { BeanDescriptor bd = beanInfo.getBeanDescriptor(); if (bd == null) { bd = new BeanDescriptor(CvStage.this.getClass()); } bd.setShortDescription(CvStage.this.getDescription()); return bd; }