|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.vc.VersionHistoryTask
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.
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() );
}
}
import wt.clients.vc.VersionHistoryTask;
Supported API: false
Extendable: false
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 |
private static boolean VERBOSE
public static String RESOURCES
private static ResourceBundle resources
private Applet parentApplet
private Frame parentFrame
private Versioned reviseItem
Constructor Detail |
public VersionHistoryTask(Applet parent_applet, Frame parent_frame, Versioned revise_item)
VersionHistoryTask
to handle the revise of a Versioned object.
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 |
public void setParentApplet(Applet parent_applet)
public Applet getParentApplet()
public void setParentFrame(Frame parent_frame)
public Frame getParentFrame()
public void setReviseItem(Versioned revise_item)
public Versioned getReviseItem()
public Versioned versionHistory()
private void initResources()
private Frame getTopLevelFrame()
private WTContext getContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |