|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.adapters.detailview.dynamicprofile.BaseAttributeLine
com.centrasite.control.adapters.detailview.dynamicprofile.AssociationAttributeLine
com.centrasite.control.adapters.detailview.dynamicprofile.RelationAttributeLine
public class RelationAttributeLine
Attribute line handling relationship attributes.
Field Summary |
---|
Fields inherited from class com.centrasite.control.adapters.detailview.dynamicprofile.BaseAttributeLine |
---|
COLUMN_WIDTH_ACTION, COLUMN_WIDTH_ATTRIBUTE, COLUMN_WIDTH_VALUE, isBrowserChrome, isBrowserFire, TOTAL_WIDTH |
Constructor Summary | |
---|---|
RelationAttributeLine(AttributeLineContext context)
|
Method Summary | |
---|---|
void |
buildUI(java.lang.StringBuffer layout)
Adds the corresponding layout text for this line. |
java.lang.String |
changeStatusProp()
|
boolean |
getLineRemoveVisible()
Checks if the remove line icon should be visible. |
java.lang.String |
getLinkStatusProp()
If the targetAssetName is equal to INMCS_LBL_INSUFF_PRIV do not render the link. |
com.centrasite.jaxr.assettype.RelationshipAttribute |
getRelationAttribute()
|
com.centrasite.control.Item |
getTargetAsset()
|
java.lang.String |
getTargetAssetName()
|
void |
onAddAssociation()
Executes the AddClassificationCommand by passing the specified in the attribute classification scheme. |
void |
onClickOk(com.centrasite.control.ActionContext actionContext,
com.centrasite.control.registry.items.RegistryObjectItem source,
java.util.Collection targetObjects,
java.lang.String associationType)
|
void |
onLineRemove()
Removes this line from the collection of values. |
void |
setTargetObject(javax.xml.registry.infomodel.RegistryObject ro)
|
void |
showDetails()
This method is executed when click on the link of the Asset |
Methods inherited from class com.centrasite.control.adapters.detailview.dynamicprofile.AssociationAttributeLine |
---|
getAssociationAttribute, onClickCancel, onClickCancel |
Methods inherited from class com.centrasite.control.adapters.detailview.dynamicprofile.BaseAttributeLine |
---|
getActionContext, getAsset, getAttribute, getAttributeContext, getDescription, getIndex, getLineAddVisible, getName, getNCName, getSelected, getShowAttributeName, getUnitLabel, getValues, hasAction, isModified, isMultiValue, isPrefix, isReadOnly, isRequired, modified, onLineAdd, passivate, revert, setAttributeContext, setModified, setNCName, setReadOnly, setValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.centrasite.control.discovery.AddAssociationListener |
---|
onClickCancel |
Constructor Detail |
---|
public RelationAttributeLine(AttributeLineContext context)
context
- Method Detail |
---|
public com.centrasite.jaxr.assettype.RelationshipAttribute getRelationAttribute()
public void buildUI(java.lang.StringBuffer layout)
DynamicLine
buildUI
in interface DynamicLine
buildUI
in class BaseAttributeLine
layout
- The layout string used for adding the contents of this line.public java.lang.String getLinkStatusProp()
public void showDetails()
public com.centrasite.control.Item getTargetAsset()
public java.lang.String getTargetAssetName()
public java.lang.String changeStatusProp()
public void onLineRemove()
BaseAttributeLine
onLineRemove
in class BaseAttributeLine
public boolean getLineRemoveVisible()
BaseAttributeLine
getLineRemoveVisible
in class BaseAttributeLine
public void onAddAssociation()
AddClassificationCommand
by passing the specified in the attribute classification scheme.
public void setTargetObject(javax.xml.registry.infomodel.RegistryObject ro)
association
- the classification to setpublic void onClickOk(com.centrasite.control.ActionContext actionContext, com.centrasite.control.registry.items.RegistryObjectItem source, java.util.Collection targetObjects, java.lang.String associationType)
onClickOk
in interface com.centrasite.control.discovery.AddAssociationListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |