Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.update.internal.ui.wizards
Class ShowActivitiesDialog  view ShowActivitiesDialog download ShowActivitiesDialog.java

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.dialogs.Dialog
          extended byorg.eclipse.update.internal.ui.wizards.ShowActivitiesDialog

public class ShowActivitiesDialog
extends org.eclipse.jface.dialogs.Dialog


Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
private  org.eclipse.jface.viewers.TableViewer activitiesViewer
           
private  org.eclipse.swt.graphics.Point dialogLocation
           
private  org.eclipse.jface.dialogs.IDialogSettings dialogSettings
           
private  org.eclipse.swt.graphics.Point dialogSize
           
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, dialogArea, DLG_IMG_ERROR, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
ShowActivitiesDialog(org.eclipse.swt.widgets.Shell parentShell)
           
 
Method Summary
 boolean close()
          Closes this window, disposes its shell, and removes this window from its window manager (if it has one).
 void create()
          Creates this window's widgetry in a new top-level shell.
protected  org.eclipse.swt.widgets.Control createActivitiesViewer(org.eclipse.swt.widgets.Composite parent)
           
protected  void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
          Adds buttons to this dialog's button bar.
protected  org.eclipse.swt.widgets.Control createDescriptionSection(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
          Creates and returns the contents of the upper part of this dialog (above the button bar).
private  org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
          Returns the dialog settings object used to share state between several event detail dialogs.
private  void readConfiguration()
          Initializes itself from the dialog settings with the same state as at the previous invocation.
private  void storeSettings()
          Stores the current state in the dialog settings.
private  void writeConfiguration()
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getInitialLocation, getInitialSize, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activitiesViewer

private org.eclipse.jface.viewers.TableViewer activitiesViewer

dialogSettings

private org.eclipse.jface.dialogs.IDialogSettings dialogSettings

dialogLocation

private org.eclipse.swt.graphics.Point dialogLocation

dialogSize

private org.eclipse.swt.graphics.Point dialogSize
Constructor Detail

ShowActivitiesDialog

public ShowActivitiesDialog(org.eclipse.swt.widgets.Shell parentShell)
Method Detail

create

public void create()
Description copied from class: org.eclipse.jface.window.Window
Creates this window's widgetry in a new top-level shell.

The default implementation of this framework method creates this window's shell (by calling createShell), and its controls (by calling createContents), then initializes this window's shell bounds (by calling initializeBounds).


createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Description copied from class: org.eclipse.jface.dialogs.Dialog
Creates and returns the contents of the upper part of this dialog (above the button bar).

The Dialog implementation of this framework method creates and returns a new Composite with standard margins and spacing.

The returned control's layout data must be an instance of GridData. This method must not modify the parent's layout.

Subclasses must override this method but may call super as in the following example:

 Composite composite = (Composite) super.createDialogArea(parent);
 //add controls to composite as necessary
 return composite;
 


createDescriptionSection

protected org.eclipse.swt.widgets.Control createDescriptionSection(org.eclipse.swt.widgets.Composite parent)

createActivitiesViewer

protected org.eclipse.swt.widgets.Control createActivitiesViewer(org.eclipse.swt.widgets.Composite parent)

createButtonsForButtonBar

protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Description copied from class: org.eclipse.jface.dialogs.Dialog
Adds buttons to this dialog's button bar.

The Dialog implementation of this framework method adds standard ok and cancel buttons using the createButton framework method. These standard buttons will be accessible from getCancelButton, and getOKButton. Subclasses may override.


close

public boolean close()
Description copied from class: org.eclipse.jface.window.Window
Closes this window, disposes its shell, and removes this window from its window manager (if it has one).

This framework method may be extended (super.close must be called).


storeSettings

private void storeSettings()
Stores the current state in the dialog settings.

Since:
2.0

getDialogSettings

private org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
Returns the dialog settings object used to share state between several event detail dialogs.


readConfiguration

private void readConfiguration()
Initializes itself from the dialog settings with the same state as at the previous invocation.


writeConfiguration

private void writeConfiguration()