com.tek42.perforce.model
Class AbstractViewsSupport
java.lang.Object
com.tek42.perforce.model.AbstractViewsSupport
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Label, Workspace
public abstract class AbstractViewsSupport
- extends java.lang.Object
- implements java.io.Serializable
Provide base support for views.
- Author:
- Mike Wille
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.List<java.lang.String> |
views
|
|
Method Summary |
void |
addView(java.lang.String view)
|
void |
clearViews()
Removes all views from this client. |
java.util.List<java.lang.String> |
getViews()
|
java.lang.String |
getViewsAsString()
Returns the list of views concatenated together with \n as delimeters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
views
protected java.util.List<java.lang.String> views
AbstractViewsSupport
public AbstractViewsSupport()
getViews
public java.util.List<java.lang.String> getViews()
- Returns:
- the view
getViewsAsString
public java.lang.String getViewsAsString()
- Returns the list of views concatenated together with \n as delimeters.
- Returns:
addView
public void addView(java.lang.String view)
- Parameters:
view - the view to set
clearViews
public void clearViews()
- Removes all views from this client.
Copyright © 2007-2009. All Rights Reserved.