void function ( Object arg0 , int arg1 ) { switch ( arg1 ) { case EditorPart . PROP_DIRTY : case EditorPart . PROP_TITLE : if ( arg0 instanceof IEditorPart ) { IFile loc0 = ( IFile ) ( ( IEditorPart ) arg0 ) . getEditorInput ( ) . getAdapter ( IFile . class ) ; if ( loc0 != null ) _viewer . refresh ( loc0 ) ; } break ; } }
listen for any editors to become `` dirty '' so that the label can dictate the change concode_field_sep EditorViewer _viewer concode_field_sep void pageActivated concode_elem_sep void pageClosed concode_elem_sep void partInputChanged concode_elem_sep void perspectiveActivated concode_elem_sep void partHidden concode_elem_sep void perspectiveChanged concode_elem_sep void partOpened concode_elem_sep void partBroughtToTop concode_elem_sep void partVisible concode_elem_sep void partDeactivated concode_elem_sep void partClosed concode_elem_sep void partActivated concode_elem_sep void pageOpened