fable.imageviewer.internal
Class ZoomSelection

java.lang.Object
  extended by fable.imageviewer.internal.ZoomSelection

public class ZoomSelection
extends java.lang.Object

ZoomSelection is a local class to implement the ZoomSelection enum type as a type-safe pattern

Author:
Andy Gotz

Field Summary
static ZoomSelection AREA
           
static ZoomSelection LINE
           
static ZoomSelection NONE
           
static ZoomSelection PROFILE
           
static ZoomSelection RELIEF
           
static ZoomSelection ROCKINGCURVE
           
 
Constructor Summary
ZoomSelection(java.lang.String name, java.lang.String viewId, java.lang.String secondId)
           
 
Method Summary
 void bringToTop()
           
 java.lang.String getName()
           
 org.eclipse.ui.IViewPart getViewPart()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ZoomSelection NONE

AREA

public static final ZoomSelection AREA

LINE

public static final ZoomSelection LINE

PROFILE

public static final ZoomSelection PROFILE

RELIEF

public static final ZoomSelection RELIEF

ROCKINGCURVE

public static final ZoomSelection ROCKINGCURVE
Constructor Detail

ZoomSelection

public ZoomSelection(java.lang.String name,
                     java.lang.String viewId,
                     java.lang.String secondId)
Method Detail

getName

public java.lang.String getName()

bringToTop

public void bringToTop()

getViewPart

public org.eclipse.ui.IViewPart getViewPart()
                                     throws org.eclipse.ui.PartInitException
Throws:
org.eclipse.ui.PartInitException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object