| 1 |
|
package org.trails.descriptor; |
| 2 |
|
|
| 3 |
|
import org.apache.tapestry.IRequestCycle; |
| 4 |
|
import org.apache.tapestry.components.Block; |
| 5 |
|
import org.apache.tapestry.util.ComponentAddress; |
| 6 |
|
|
| 7 |
|
public interface BlockFinder |
| 8 |
|
{ |
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
public abstract ComponentAddress findBlockAddress(IPropertyDescriptor descriptor); |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
public Block findBlock(IRequestCycle cycle, IPropertyDescriptor descriptor); |
| 23 |
|
|
| 24 |
|
public void setDefaultBlockAddress(ComponentAddress defaultEditor); |
| 25 |
|
|
| 26 |
|
public ComponentAddress getDefaultBlockAddress(); |
| 27 |
|
} |