protected void initOptions(int options) { // The graph manager is allocated in the bean root this.graphManager = new GraphManager(this); this.createRoot("constraints", "Constraints", // NOI18N Common.TYPE_1 | Common.TYPE_BEAN, Constraints.class); // Properties (see root bean comments for the bean graph) this.createProperty("check-info", // NOI18N CHECK_INFO, Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, CheckInfo.class); this.initialize(options); }
/** * This method is called by one of the properties of the bean * to notify of a change. This is the way the property uses to * signal all its ancestors about a property that has changed. */ void notifyInternal(BeanProp.InternalEvent ie) { if (this.changeListeners != null && ie.type == BeanProp.InternalEvent.CHANGED) { boolean addedGM = false; if (this.graphManager == null) { this.graphManager = new GraphManager(this); addedGM = true; } this.changeListeners. firePropertyChange(ie.getPropertyChangeEvent()); if (addedGM) { this.graphManager = null; } } if (this.binding != null) { BeanProp p = this.binding.getBeanProp(this); if (p != null) p.notifyInternal(ie, true); } }
protected void initOptions(int options) { // The graph manager is allocated in the bean root this.graphManager = new GraphManager(this); this.createRoot("sun-cmp-mappings", "SunCmpMappings", // NOI18N Common.TYPE_1 | Common.TYPE_BEAN, SunCmpMappings.class); // Properties (see root bean comments for the bean graph) initPropertyTables(1); this.createProperty("sun-cmp-mapping", // NOI18N SUN_CMP_MAPPING, Common.TYPE_1_N | Common.TYPE_BEAN | Common.TYPE_KEY, SunCmpMapping.class); this.initialize(options); }
protected void initOptions(int options) { // The graph manager is allocated in the bean root this.graphManager = new GraphManager(this); this.createRoot("deployment-plan", "DeploymentPlan", // NOI18N Common.TYPE_1 | Common.TYPE_BEAN, DeploymentPlan.class); // Properties (see root bean comments for the bean graph) initPropertyTables(1); this.createProperty("file-entry", // NOI18N FILE_ENTRY, Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, FileEntry.class); this.initialize(options); }
protected void initOptions(int options) { // The graph manager is allocated in the bean root this.graphManager = new GraphManager(this); this.createRoot("wizard", "Wizard", // NOI18N Common.TYPE_1 | Common.TYPE_BEAN, Wizard.class); // Properties (see root bean comments for the bean graph) this.createProperty("name", // NOI18N NAME, Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, String.class); this.createProperty("field-group", // NOI18N FIELD_GROUP, Common.TYPE_1_N | Common.TYPE_BEAN | Common.TYPE_KEY, FieldGroup.class); this.initialize(options); }
protected void initOptions(int options) { // The graph manager is allocated in the bean root this.graphManager = new GraphManager(this); this.createRoot("validation", "Validation", // NOI18N Common.TYPE_1 | Common.TYPE_BEAN, Validation.class); // Properties (see root bean comments for the bean graph) this.createProperty("element", // NOI18N ELEMENT, Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, Element.class); this.createAttribute("validate", "Validate", AttrProp.ENUM, new String[] { "true", "false" }, "true"); this.initialize(options); }