Skip to content

Commit

Permalink
Merge pull request #48 from discolo/apiman-214
Browse files Browse the repository at this point in the history
Apiman 214
  • Loading branch information
EricWittmann committed Dec 30, 2014
2 parents b13a173 + 5da40d4 commit c6c3b73
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@

import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.TakesValue;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.InlineLabel;
import com.google.gwt.user.client.ui.Label;

/**
* A table of policy definitions.
Expand Down Expand Up @@ -101,8 +103,13 @@ private void addRow(int rowIdx, PolicyDefinitionSummaryBean bean) {
s.add(icon);
InlineLabel span = new InlineLabel(bean.getName());
s.add(span);
add(rowIdx, 0, s);

FlowPanel fp = new FlowPanel();
fp.add(s);
Label description = new Label(bean.getDescription());
description.getElement().setClassName("description"); //$NON-NLS-1$
description.getElement().addClassName("apiman-label-faded"); //$NON-NLS-1$
fp.add(description);
add(rowIdx, 0, fp);
add(rowIdx, 1, new InlineLabel(bean.getPolicyImpl()));
}

Expand Down

0 comments on commit c6c3b73

Please sign in to comment.