configureColumnsNote.addRow( new HTML( AbstractImagePrototype.create( GuidedDecisionTableResources.INSTANCE.images().information() ).getHTML()
+ " "
+ GuidedDecisionTableConstants.INSTANCE.ConfigureColumnsNote() ) );
configureColumnsNote.endSection();
disclosurePanel = new DecoratedDisclosurePanel( GuidedDecisionTableConstants.INSTANCE.DecisionTable() );
disclosurePanel.setTitle( GuidedDecisionTableConstants.INSTANCE.DecisionTable() );
disclosurePanel.setWidth( "100%" );
VerticalPanel config = new VerticalPanel();
config.setWidth( "100%" );
disclosurePanel.add( config );
//Can't add new columns if the asset is read-only
if ( !isReadOnly ) {
config.add( newColumn() );
}
conditions = new DecoratedDisclosurePanel( GuidedDecisionTableConstants.INSTANCE.ConditionColumns() );
conditions.setWidth( "75%" );
conditions.setOpen( false );
conditions.add( getConditions() );
config.add( conditions );
actions = new DecoratedDisclosurePanel( GuidedDecisionTableConstants.INSTANCE.ActionColumns() );
actions.setWidth( "75%" );
actions.setOpen( false );
actions.add( getActions() );
config.add( actions );
options = new DecoratedDisclosurePanel( GuidedDecisionTableConstants.INSTANCE.Options() );
options.setWidth( "75%" );
options.setOpen( false );
options.add( getAttributes() );
config.add( options );