/** * @param targetPart * @return */ public static String getName(IViewPart targetPart) { return targetPart.getTitle(); }