wt.clients.vc
Class VersionHistoryTask

java.lang.Object
  extended bywt.clients.vc.VersionHistoryTask

Deprecated. this dialog has been replaced by an HTML page for displaying version history. See wt.enterprise.VersionHistoryProcessor

public class VersionHistoryTask
extends Object

The VersionHistoryTask class is a support class for the VersionHistoryDialog class. Some basic non-UI functions that support the UI in VersionHistoryDialog are performed here. This class in turn will call upon the VersionHistoryTaskLogic class to perform support functions and decisions for the methods in this class.

 import wt.clients.vc.VersionHistoryTask;
 

void versionHistoryMenuItem_Action(java.awt.event.ActionEvent event) { showVersionHistory(); }

protected void showVersionHistory() { try { setCursor( Cursor.getPredefinedCursor( Cursor.WAIT_CURSOR ) ); // You must supply the getVersionedObject() method. Versioned versionedObject = getVersionedObject(); // You must supply the getParentApplet() method for the calling // GUI component. // You must supply the getFrame() method for the calling // GUI component. VersionHistoryTask version_history_task = new VersionHistoryTask(getParentApplet(), getFrame(), versionedObject); version_history_task.versionHistory(); } finally { setCursor( Cursor.getDefaultCursor() ); } }



Supported API: false

Extendable: false

See Also:
VersionHistoryDialog

Field Summary
private  Applet parentApplet
          Deprecated.  
private  Frame parentFrame
          Deprecated.  
private static ResourceBundle resources
          Deprecated.  
static String RESOURCES
          Deprecated.  
private  Versioned reviseItem
          Deprecated.  
private static boolean VERBOSE
          Deprecated.  
 
Constructor Summary
VersionHistoryTask(Applet parent_applet, Frame parent_frame, Versioned revise_item)
          Deprecated. Construct a VersionHistoryTask to handle the revise of a Versioned object.
 
Method Summary
private  WTContext getContext()
          Deprecated.  
 Applet getParentApplet()
          Deprecated. Supported API: false
 Frame getParentFrame()
          Deprecated. Supported API: false
 Versioned getReviseItem()
          Deprecated. Supported API: false
private  Frame getTopLevelFrame()
          Deprecated.  
private  void initResources()
          Deprecated.  
 void setParentApplet(Applet parent_applet)
          Deprecated. Supported API: false
 void setParentFrame(Frame parent_frame)
          Deprecated. Supported API: false
 void setReviseItem(Versioned revise_item)
          Deprecated. Supported API: false
 Versioned versionHistory()
          Deprecated. Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE
Deprecated. 

RESOURCES

public static String RESOURCES
Deprecated. 

resources

private static ResourceBundle resources
Deprecated. 

parentApplet

private Applet parentApplet
Deprecated. 

parentFrame

private Frame parentFrame
Deprecated. 

reviseItem

private Versioned reviseItem
Deprecated. 
Constructor Detail

VersionHistoryTask

public VersionHistoryTask(Applet parent_applet,
                          Frame parent_frame,
                          Versioned revise_item)
Deprecated. 
Construct a VersionHistoryTask to handle the revise of a Versioned object.

Supported API: false

Parameters:
parent_applet - The parent Applet from which this task gets its context.
parent_frame - The parent Frame which is used to provide a Frame for launching dialogs. If no frame is provided, the applet is used in launching dialogs.
Method Detail

setParentApplet

public void setParentApplet(Applet parent_applet)
Deprecated. 
Supported API: false


getParentApplet

public Applet getParentApplet()
Deprecated. 
Supported API: false


setParentFrame

public void setParentFrame(Frame parent_frame)
Deprecated. 
Supported API: false


getParentFrame

public Frame getParentFrame()
Deprecated. 
Supported API: false


setReviseItem

public void setReviseItem(Versioned revise_item)
Deprecated. 
Supported API: false


getReviseItem

public Versioned getReviseItem()
Deprecated. 
Supported API: false


versionHistory

public Versioned versionHistory()
Deprecated. 
Supported API: false


initResources

private void initResources()
Deprecated. 

getTopLevelFrame

private Frame getTopLevelFrame()
Deprecated. 

getContext

private WTContext getContext()
Deprecated.