org.overlord.sramp.ui.client.places
Class AbstractPlace

java.lang.Object
  extended by com.google.gwt.place.shared.Place
      extended by org.overlord.sramp.ui.client.places.AbstractPlace
Direct Known Subclasses:
AbstractPagedPlace, ArtifactPlace, DashboardPlace

public abstract class AbstractPlace
extends com.google.gwt.place.shared.Place

Base class for all places in the s-ramp ui.

Author:
eric.wittmann@redhat.com

Field Summary
 
Fields inherited from class com.google.gwt.place.shared.Place
NOWHERE
 
Constructor Summary
AbstractPlace()
          Constructor.
 
Method Summary
abstract  boolean equals(Object obj)
           
 String getTitleKey()
          Gets the key into the i18n messages.properties.
 Object[] getTitleParams()
          Gets the parameters that should be passed to the ILocalizationService when resolving the localized title for this place.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPlace

public AbstractPlace()
Constructor.

Method Detail

getTitleKey

public String getTitleKey()
Gets the key into the i18n messages.properties. This returns a key that will be used to lookup a localized title for this place. It will look up the localized title using the standard ILocalizationService. Subclasses can optionally override this to provide a different key.


getTitleParams

public Object[] getTitleParams()
Gets the parameters that should be passed to the ILocalizationService when resolving the localized title for this place. Subclasses can override this to provide the params passed.


equals

public abstract boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.