/** * Sets the export state of the entry. * @param isExported the new state */ public void setExported(boolean isExported) { if (isExported != fIsExported) { fIsExported = isExported; attributeChanged(null); } }
/** * Sets the export state of the entry. * @param isExported the new state */ public void setExported(boolean isExported) { if (isExported != fIsExported) { fIsExported = isExported; attributeChanged(null); } }
/** * Sets the export state of the entry. * @param isExported the new state */ public void setExported(boolean isExported) { if (isExported != fIsExported) { fIsExported = isExported; attributeChanged(null); } }
/** * Returns the value. * @param value value to set */ public void setValue(Object value) { fValue= value; fCachedAccess= null; getParent().attributeChanged(fKey); }
/** * Returns the value. * @param value value to set */ public void setValue(Object value) { fValue= value; fCachedAccess= null; getParent().attributeChanged(fKey); }
/** * Returns the value. * @param value value to set */ public void setValue(Object value) { fValue= value; fCachedAccess= null; getParent().attributeChanged(fKey); }
protected void removeEncapsulationDetail(ModuleEncapsulationDetail detail) { CPListElementAttribute parent= detail.getParent(); if (parent != null) { Object value= parent.getValue(); if (value instanceof ModuleEncapsulationDetail[]) { ModuleEncapsulationDetail[] existingDetails= (ModuleEncapsulationDetail[]) value; int count= 0; for (int j= 0; j < existingDetails.length; j++) { ModuleEncapsulationDetail aDetail= existingDetails[j]; if (aDetail != detail) existingDetails[count++]= aDetail; } if (count < existingDetails.length) { ModuleEncapsulationDetail[] newDetails= new ModuleEncapsulationDetail[count]; System.arraycopy(existingDetails, 0, newDetails, 0, count); parent.setValue(newDetails); parent.getParent().attributeChanged(CPListElement.MODULE); } } } }