This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
rhbz723084 - refactoring in preparation for the big change...
- Loading branch information
Patrick Huang
committed
Mar 14, 2013
1 parent
c64105f
commit 97b3e28
Showing
13 changed files
with
81 additions
and
67 deletions.
There are no files selected for viewing
31 changes: 0 additions & 31 deletions
31
zanata-war/src/main/java/org/zanata/webtrans/client/events/BookmarkableTextFlowEvent.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...war/src/main/java/org/zanata/webtrans/client/events/BookmarkableTextFlowEventHandler.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
zanata-war/src/main/java/org/zanata/webtrans/client/events/BookmarkedTextFlowEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| package org.zanata.webtrans.client.events; | ||
|
|
||
| import org.zanata.webtrans.shared.model.TransUnitId; | ||
| import com.google.gwt.event.shared.GwtEvent; | ||
|
|
||
| public class BookmarkedTextFlowEvent extends GwtEvent<BookmarkedTextFlowEventHandler> | ||
| { | ||
| public static Type<BookmarkedTextFlowEventHandler> TYPE = new Type<BookmarkedTextFlowEventHandler>(); | ||
|
|
||
| private TransUnitId textFlowId; | ||
|
|
||
| public BookmarkedTextFlowEvent(TransUnitId textFlowId) | ||
| { | ||
| this.textFlowId = textFlowId; | ||
| } | ||
|
|
||
| public Type<BookmarkedTextFlowEventHandler> getAssociatedType() | ||
| { | ||
| return TYPE; | ||
| } | ||
|
|
||
| protected void dispatch(BookmarkedTextFlowEventHandler handler) | ||
| { | ||
| handler.onBookmarkableTextFlow(this); | ||
| } | ||
|
|
||
| public TransUnitId getTextFlowId() | ||
| { | ||
| return textFlowId; | ||
| } | ||
| } |
8 changes: 8 additions & 0 deletions
8
...a-war/src/main/java/org/zanata/webtrans/client/events/BookmarkedTextFlowEventHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package org.zanata.webtrans.client.events; | ||
|
|
||
| import com.google.gwt.event.shared.EventHandler; | ||
|
|
||
| public interface BookmarkedTextFlowEventHandler extends EventHandler | ||
| { | ||
| void onBookmarkableTextFlow(BookmarkedTextFlowEvent event); | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters