returns the current selection in the active part , possibly and empty selection , but never null . concode_field_sep IWorkbenchPart fActivePart concode_elem_sep Object fTargetAdapter concode_elem_sep ISelection EMPTY_SELECTION concode_elem_sep IAction fAction concode_elem_sep IWorkbenchWindow fWindow concode_field_sep Object getAdapter concode_elem_sep void init concode_elem_sep void init concode_elem_sep boolean hasTargetAdapter concode_elem_sep boolean isTargetEnabled concode_elem_sep void performAction concode_elem_sep boolean isEmpty concode_elem_sep void run concode_elem_sep IAction getAction concode_elem_sep void partOpened concode_elem_sep boolean canPerformAction concode_elem_sep void partBroughtToTop concode_elem_sep void runWithEvent concode_elem_sep String getOperationUnavailableMessage concode_elem_sep void selectionChanged concode_elem_sep void dispose concode_elem_sep Class getAdapterClass concode_elem_sep void partDeactivated concode_elem_sep IWorkbenchPart getActivePart concode_elem_sep void partActivated concode_elem_sep void partClosed concode_elem_sep void clearPart
ISelection function ( ) { if ( fActivePart != null ) { ISelectionProvider loc0 = fActivePart . getSite ( ) . getSelectionProvider ( ) ; if ( loc0 != null ) { return loc0 . getSelection ( ) ; } } return EMPTY_SELECTION ; }