ccc.client.gwt.actions
Class PreviewAction

java.lang.Object
  extended by ccc.client.gwt.actions.PreviewAction
All Implemented Interfaces:
Action

public final class PreviewAction
extends java.lang.Object
implements Action

Open a dialog to preview the selected resource.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from interface ccc.client.core.Action
UI_CONSTANTS, USER_ACTIONS
 
Constructor Summary
PreviewAction(SingleSelectionModel selectionModel, boolean useWorkingCopy)
          Constructor.
 
Method Summary
 void execute()
          Perform the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewAction

public PreviewAction(SingleSelectionModel selectionModel,
                     boolean useWorkingCopy)
Constructor.

Parameters:
selectionModel - The selection model.
useWorkingCopy - Boolean for working copy preview.
Method Detail

execute

public void execute()
Perform the action.

Specified by:
execute in interface Action


Copyright © 2010. All Rights Reserved.