litesoft
Diff Revisions
123
vs
125
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactory.java
|
@@ -3,6 +3,7 @@ |
3 |
3 |
|
|
4 |
4 |
|
import java.util.*; |
5 |
5 |
|
|
|
6 |
+ |
import org.litesoft.GWT.client.widgets.nonpublic.*; |
6 |
7 |
|
import org.litesoft.core.util.*; |
7 |
8 |
|
|
8 |
9 |
|
import com.google.gwt.event.dom.client.*; |
|
@@ -99,7 +100,7 @@ |
99 |
100 |
|
|
100 |
101 |
|
public final Button create() |
101 |
102 |
|
{ |
102 |
|
- |
Button zButton = LLcreate(); |
|
103 |
+ |
Button zButton = ButtonFactory.getFactory().create( this ); |
103 |
104 |
|
for ( ClickHandler zHandler : getClickHandlers() ) |
104 |
105 |
|
{ |
105 |
106 |
|
zButton.addClickHandler( zHandler ); |
|
@@ -109,8 +110,6 @@ |
109 |
110 |
|
|
110 |
111 |
|
protected abstract String getFormDescription(); |
111 |
112 |
|
|
112 |
|
- |
protected abstract Button LLcreate(); |
113 |
|
- |
|
114 |
113 |
|
@Override |
115 |
114 |
|
public String toString() |
116 |
115 |
|
{ |