public class org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory extends org.apache.isis.viewer.wicket.ui.ComponentFactoryAbstract implements org.apache.isis.viewer.wicket.ui.CollectionContentsAsFactory
{
private static final long serialVersionUID;
public static final java.lang.String NAME;
public void <init>()
{
org.apache.isis.viewer.common.model.components.ComponentType v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory;
v = <org.apache.isis.viewer.common.model.components.ComponentType: org.apache.isis.viewer.common.model.components.ComponentType COLLECTION_CONTENTS>;
specialinvoke v.<org.apache.isis.viewer.wicket.ui.ComponentFactoryAbstract: void <init>(org.apache.isis.viewer.common.model.components.ComponentType,java.lang.String,java.lang.Class)>(v, "hidden", class "Lorg/apache/isis/viewer/wicket/ui/components/collectioncontents/unresolved/CollectionContentsHiddenPanel;");
return;
}
public org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice appliesTo(org.apache.wicket.model.IModel)
{
org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice v, v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory v;
org.apache.isis.viewer.wicket.model.models.EntityCollectionModel$Variant v;
org.apache.wicket.model.IModel v;
boolean v, v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory;
v := @parameter: org.apache.wicket.model.IModel;
v = v instanceof org.apache.isis.viewer.wicket.model.models.EntityCollectionModel;
if v != 0 goto label;
v = <org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice: org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice DOES_NOT_APPLY>;
return v;
label:
v = interfaceinvoke v.<org.apache.isis.viewer.wicket.model.models.EntityCollectionModel: org.apache.isis.viewer.wicket.model.models.EntityCollectionModel$Variant getVariant()>();
v = virtualinvoke v.<org.apache.isis.viewer.wicket.model.models.EntityCollectionModel$Variant: boolean isParented()>();
v = virtualinvoke v.<org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory: org.apache.isis.viewer.wicket.ui.ComponentFactory$ApplicationAdvice appliesIf(boolean)>(v);
return v;
}
public org.apache.wicket.Component createComponent(java.lang.String, org.apache.wicket.model.IModel)
{
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanel v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory v;
java.lang.String v;
org.apache.wicket.model.IModel v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory;
v := @parameter: java.lang.String;
v := @parameter: org.apache.wicket.model.IModel;
v = new org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanel;
specialinvoke v.<org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanel: void <init>(java.lang.String,org.apache.isis.viewer.wicket.model.models.EntityCollectionModel)>(v, v);
return v;
}
public org.apache.wicket.model.IModel getTitleLabel()
{
org.apache.wicket.model.ResourceModel v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory;
v = new org.apache.wicket.model.ResourceModel;
specialinvoke v.<org.apache.wicket.model.ResourceModel: void <init>(java.lang.String,java.lang.String)>("CollectionContentsAsUnresolvedPanel.Hide", "Hide");
return v;
}
public org.apache.wicket.model.IModel getCssClass()
{
org.apache.wicket.model.Model v;
org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory v;
v := @this: org.apache.isis.viewer.wicket.ui.components.collectioncontents.unresolved.CollectionContentsHiddenPanelFactory;
v = staticinvoke <org.apache.wicket.model.Model: org.apache.wicket.model.Model of(java.io.Serializable)>("fa fa-fw fa-eye-slash");
return v;
}
}