Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.ui
Interface IViewReference

All Superinterfaces:
  IWorkbenchPartReference

public interface IViewReference
extends IWorkbenchPartReference

Defines a reference to an IViewPart.

This interface is not intended to be implemented by clients.

Method Summary
`String` | `getSecondaryId()` Returns the secondary ID for the view.
`IViewPart` | `getView(boolean restore)` Returns the `IViewPart` referenced by this object.
`boolean` | `isFastView()` Returns true if the view is a fast view otherwise returns false.

Methods inherited from interface org.eclipse.ui.IWorkbenchPartReference
`addPropertyListener, getContentDescription, getId, getPage, getPart, getPartName, getTitle, getTitleImage, getTitleToolTip, removePropertyListener`

Method Detail

### getSecondaryId

    public String getSecondaryId()

  Returns the secondary ID for the view.

  Returns:
    the secondary ID, or `null` if there is no secondary id
  Since:
    3.0
  See Also:
    `IWorkbenchPage.showView(String, String, int)`

### getView

    public IViewPart getView(boolean restore)

  Returns the `IViewPart` referenced by this object. Returns `null` if the view was not instantiated or it failed to be restored. Tries to restore the view if `restore` is true.

### isFastView

    public boolean isFastView()

  Returns true if the view is a fast view otherwise returns false.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.