litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/ContextMenuSource.java
|
@@ -1,17 +1,17 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.GWT.client.commands.*; |
5 |
|
- |
|
6 |
|
- |
public interface ContextMenuSource { |
7 |
|
- |
/** |
8 |
|
- |
* @return null means no current entries, Context menu entries |
9 |
|
- |
*/ |
10 |
|
- |
public TextCommand[] getContextMenuEntries(); |
11 |
|
- |
|
12 |
|
- |
public static ContextMenuSource NULL = new ContextMenuSource() { |
13 |
|
- |
public TextCommand[] getContextMenuEntries() { |
14 |
|
- |
return new TextCommand[0]; |
15 |
|
- |
} |
16 |
|
- |
}; |
17 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.GWT.client.commands.*; |
|
5 |
+ |
|
|
6 |
+ |
public interface ContextMenuSource { |
|
7 |
+ |
/** |
|
8 |
+ |
* @return null means no current entries, Context menu entries |
|
9 |
+ |
*/ |
|
10 |
+ |
public TextCommand[] getContextMenuEntries(); |
|
11 |
+ |
|
|
12 |
+ |
public static ContextMenuSource NULL = new ContextMenuSource() { |
|
13 |
+ |
public TextCommand[] getContextMenuEntries() { |
|
14 |
+ |
return new TextCommand[0]; |
|
15 |
+ |
} |
|
16 |
+ |
}; |
|
17 |
+ |
} |