res.setValue("tabName", tabName); //NOI18N
res.setValue ("tabName", tabName); //NOI18N
res.setValue ("tabName", tabName); //NOI18N
/** Prepare node properties based on the bean, storing them into the current property sheet. * Called when the bean info is ready. * This implementation always creates a set for standard properties * and may create a set for expert ones if there are any. * @see #computeProperties * @param bean bean to compute properties for * @param info information about the bean */ protected void createProperties (Object bean, BeanInfo info) { Descriptor d = computeProperties (bean, beanInfo); Sheet sets = getSheet (); Sheet.Set pset = Sheet.createPropertiesSet (); pset.put (d.property); BeanDescriptor bd = info.getBeanDescriptor(); if ( bd != null && bd.getValue( "propertiesHelpID" ) != null ) { // NOI18N pset.setValue( "helpID", bd.getValue( "propertiesHelpID" ) ); // NOI18N } sets.put (pset); if (d.expert.length != 0) { Sheet.Set eset = Sheet.createExpertSet (); eset.put (d.expert); if ( bd != null && bd.getValue( "expertHelpID" ) != null ) { // NOI18N eset.setValue( "helpID", bd.getValue( "expertHelpID" ) ); // NOI18N } sets.put (eset); } }
ss.setDisplayName(NbBundle.getMessage(SunDescriptorDataNode.class, "PROP_deploymentSet")); // NOI18N ss.setShortDescription(NbBundle.getMessage(SunDescriptorDataNode.class, "HINT_deploymentSet")); // NOI18N ss.setValue("helpID", "TBD: sun-dd node"); // NOI18N
/** Prepare node properties based on the bean, storing them into the current property sheet. * Called when the bean info is ready. * This implementation always creates a set for standard properties * and may create a set for expert ones if there are any. * @see #computeProperties * @param bean bean to compute properties for * @param info information about the bean */ protected void createProperties (Object bean, BeanInfo info) { Descriptor d = computeProperties (bean, beanInfo); Sheet sets = getSheet (); Sheet.Set pset = Sheet.createPropertiesSet (); pset.put (d.property); BeanDescriptor bd = info.getBeanDescriptor(); if ( bd != null && bd.getValue( "propertiesHelpID" ) != null ) { // NOI18N pset.setValue( "helpID", bd.getValue( "propertiesHelpID" ) ); // NOI18N } sets.put (pset); if (d.expert.length != 0) { Sheet.Set eset = Sheet.createExpertSet (); eset.put (d.expert); if ( bd != null && bd.getValue( "expertHelpID" ) != null ) { // NOI18N eset.setValue( "helpID", bd.getValue( "expertHelpID" ) ); // NOI18N } sets.put (eset); } }
/** Prepare node properties based on the bean, storing them into the current property sheet. * Called when the bean info is ready. * This implementation always creates a set for standard properties * and may create a set for expert ones if there are any. * @see #computeProperties * @param bean bean to compute properties for * @param info information about the bean */ protected void createProperties(T bean, BeanInfo info) { Descriptor d = computeProperties(bean, info); Sheet sets = getSheet(); Sheet.Set pset = Sheet.createPropertiesSet(); pset.put(d.property); BeanDescriptor bd = info.getBeanDescriptor(); if ((bd != null) && (bd.getValue("propertiesHelpID") != null)) { // NOI18N pset.setValue("helpID", bd.getValue("propertiesHelpID")); // NOI18N } sets.put(pset); if (d.expert.length != 0) { Sheet.Set eset = Sheet.createExpertSet(); eset.put(d.expert); if ((bd != null) && (bd.getValue("expertHelpID") != null)) { // NOI18N eset.setValue("helpID", bd.getValue("expertHelpID")); // NOI18N } sets.put(eset); } }