~ubuntu-branches/ubuntu/raring/eucalyptus/raring

« back to all changes in this revision

Viewing changes to clc/modules/www/src/main/java/com/eucalyptus/webui/client/place/AccountPlace.java

  • Committer: Package Import Robot
  • Author(s): Brian Thomason
  • Date: 2011-11-29 13:17:52 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 185.
  • Revision ID: package-import@ubuntu.com-20111129131752-rq31al3ntutv2vvl
Tags: upstream-3.0.999beta1
ImportĀ upstreamĀ versionĀ 3.0.999beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.eucalyptus.webui.client.place;
 
2
 
 
3
import com.google.gwt.place.shared.PlaceTokenizer;
 
4
import com.google.gwt.place.shared.Prefix;
 
5
 
 
6
public class AccountPlace extends SearchPlace {
 
7
  
 
8
  public AccountPlace( String search ) {
 
9
    super( search );
 
10
  }
 
11
  
 
12
  @Prefix( "account" )
 
13
  public static class Tokenizer implements PlaceTokenizer<AccountPlace> {
 
14
 
 
15
    @Override
 
16
    public AccountPlace getPlace( String token ) {
 
17
      return new AccountPlace( token );
 
18
    }
 
19
 
 
20
    @Override
 
21
    public String getToken( AccountPlace place ) {
 
22
      return place.getSearch( );
 
23
    }
 
24
    
 
25
  }
 
26
  
 
27
}