Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7760210ACF for ; Wed, 4 Sep 2013 13:13:57 +0000 (UTC) Received: (qmail 99781 invoked by uid 500); 4 Sep 2013 13:13:56 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 99709 invoked by uid 500); 4 Sep 2013 13:13:55 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 99692 invoked by uid 99); 4 Sep 2013 13:13:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 13:13:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 13:13:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 615D823888A6; Wed, 4 Sep 2013 13:13:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1520010 - /sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java Date: Wed, 04 Sep 2013 13:13:33 -0000 To: commits@sling.apache.org From: stefanegli@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130904131333.615D823888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stefanegli Date: Wed Sep 4 13:13:32 2013 New Revision: 1520010 URL: http://svn.apache.org/r1520010 Log: SLING-2985 : link-with-editor support (part 3) added for content browser (use bringToTop, not activate) Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java?rev=1520010&r1=1520009&r2=1520010&view=diff ============================================================================== --- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java (original) +++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/LinkHelper.java Wed Sep 4 13:13:32 2013 @@ -122,7 +122,7 @@ public class LinkHelper implements ILink continue; } if (file.equals(selectedFile)) { - aPage.activate(reference.getEditor(true)); + aPage.bringToTop(reference.getEditor(true)); } } }