◆ doAfterCompose()
void org.turro.newsletter.ImageComposer.doAfterCompose |
( |
Component |
comp | ) |
throws Exception |
◆ onSelectImage()
void org.turro.newsletter.ImageComposer.onSelectImage |
( |
| ) |
|
Definition at line 53 of file ImageComposer.java.
54 RepositoryWalker repositories =
new RepositoryWalker(
null);
55 repositories.selectFolder(
"/_internal/files" + PublicationPU.getObjectPath(
entity.getNewsletter()));
56 repositories.setFilter(RepositoryContent.IMAGE_FILTER);
57 repositories.setReadOnlyRepository(
entity.getNewsletter().getId() ==
null);
58 repositories.setNoTreeRepository(
false);
59 SelectionDialog.showComponent(getPage(), I_.get(
"Repository"), repositories,
"90%",
"90%",
new Command() {
61 public Object execute(Context context) {
62 File result = repositories.getResult();
64 entity.setWiki(
"$no_wiki\n" + imageString(result));
65 entity.setBody(imageString(result));
66 html.setContent(
entity.getBody());
67 Events.postEvent(
new Event(Events.ON_CHANGE));
◆ onUrlLink()
void org.turro.newsletter.ImageComposer.onUrlLink |
( |
| ) |
|
Definition at line 75 of file ImageComposer.java.
76 entity.setBanner(urlLink.getValue());
77 Events.postEvent(
new Event(Events.ON_CHANGE));
The documentation for this class was generated from the following file: