IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.workingarea.core.impl
Class WorkingArea

java.lang.Object
  extended by com.ibm.btt.rcp.workingarea.core.impl.WorkingArea
All Implemented Interfaces:
IWorkingArea

public class WorkingArea
extends java.lang.Object
implements IWorkingArea

IWorkingArea default implementation, manage Rich Client working area.


Field Summary
protected  org.eclipse.ui.IWorkbenchPage page
           
 
Fields inherited from interface com.ibm.btt.rcp.workingarea.core.IWorkingArea
SERVICE_PID
 
Constructor Summary
WorkingArea()
           
 
Method Summary
 void activatePart(org.eclipse.ui.IWorkbenchPart part)
          Activate this IWorkbenchPart
 org.eclipse.ui.IViewPart findView(java.lang.String id)
          Returns the view in this page with the specified id.
 org.eclipse.ui.IViewPart findView(java.lang.String id, java.lang.String secondaryId)
          Returns the view in this page with the specified id and secondaryId
 IWorkingAreaView findWorkingAreaView(java.lang.String secondaryId)
          Returns the working area view in this page with the specified secondaryId.
protected  org.eclipse.ui.IWorkbenchPage getWorkbenchPage()
           
 void hideActiveView()
          Hide current active view.
 void hideView(java.lang.String id)
          Hides the given view.
 void hideView(java.lang.String id, java.lang.String secondaryId)
          Hides the view with specified id and secondaryId
 void initialize()
          Init working area instance, add part listener to current active window
 org.eclipse.ui.IViewPart showView(java.lang.String id)
          Shows the view identified by the given view id in this page and gives it focus.
 org.eclipse.ui.IViewPart showView(java.lang.String id, java.lang.String secondaryId, int mode)
          Shows a view in this page with the given id and secondary id.
 IWorkingAreaView showWorkingAreaView(java.lang.String secondaryId, int mode)
          Shows working area view in this page with the secondary id and mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

protected org.eclipse.ui.IWorkbenchPage page
Constructor Detail

WorkingArea

public WorkingArea()
Method Detail

initialize

public void initialize()
Init working area instance, add part listener to current active window


getWorkbenchPage

protected org.eclipse.ui.IWorkbenchPage getWorkbenchPage()

findView

public org.eclipse.ui.IViewPart findView(java.lang.String id,
                                         java.lang.String secondaryId)
Description copied from interface: IWorkingArea
Returns the view in this page with the specified id and secondaryId

Specified by:
findView in interface IWorkingArea
Returns:

findView

public org.eclipse.ui.IViewPart findView(java.lang.String id)
Description copied from interface: IWorkingArea
Returns the view in this page with the specified id. There is at most one view in the page with the specified id.

Specified by:
findView in interface IWorkingArea
Returns:

showView

public org.eclipse.ui.IViewPart showView(java.lang.String id,
                                         java.lang.String secondaryId,
                                         int mode)
Description copied from interface: IWorkingArea
Shows a view in this page with the given id and secondary id.

Specified by:
showView in interface IWorkingArea
Returns:
See Also:
IWorkbenchPage@showView(String id, String secondaryId, int mode)

showView

public org.eclipse.ui.IViewPart showView(java.lang.String id)
Description copied from interface: IWorkingArea
Shows the view identified by the given view id in this page and gives it focus. If there is a view identified by the given view id (and with no secondary id) already open in this page, it is given focus.

Specified by:
showView in interface IWorkingArea
Returns:

hideView

public void hideView(java.lang.String id,
                     java.lang.String secondaryId)
Description copied from interface: IWorkingArea
Hides the view with specified id and secondaryId

Specified by:
hideView in interface IWorkingArea

hideView

public void hideView(java.lang.String id)
Description copied from interface: IWorkingArea
Hides the given view. The view must belong to this page.

Specified by:
hideView in interface IWorkingArea

activatePart

public void activatePart(org.eclipse.ui.IWorkbenchPart part)
Description copied from interface: IWorkingArea
Activate this IWorkbenchPart

Specified by:
activatePart in interface IWorkingArea

hideActiveView

public void hideActiveView()
Description copied from interface: IWorkingArea
Hide current active view.

Specified by:
hideActiveView in interface IWorkingArea

findWorkingAreaView

public IWorkingAreaView findWorkingAreaView(java.lang.String secondaryId)
Description copied from interface: IWorkingArea
Returns the working area view in this page with the specified secondaryId.

Specified by:
findWorkingAreaView in interface IWorkingArea
Returns:

showWorkingAreaView

public IWorkingAreaView showWorkingAreaView(java.lang.String secondaryId,
                                            int mode)
Description copied from interface: IWorkingArea
Shows working area view in this page with the secondary id and mode.

Specified by:
showWorkingAreaView in interface IWorkingArea
Returns:

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010