Show
Ignore:
Timestamp:
07/04/08 16:46:07 (5 months ago)
Author:
yamashiro
Message:

ふぁぼると、友達のホームを開くをマルチサービス対応に

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/eclipse/sabotter/trunk/jp.xet.sabotter.eclipse/src/jp/xet/sabotter/eclipse/action/OpenUsersHomeAction.java

    r15108 r15153  
    11package jp.xet.sabotter.eclipse.action; 
     2 
     3import java.net.MalformedURLException; 
    24 
    35import jp.xet.sabotter.core.MiniblogEntry; 
    46import jp.xet.sabotter.eclipse.SabotterPlugin; 
    57import jp.xet.sabotter.eclipse.manager.BrowserManager; 
     8import jp.xet.sabotter.eclipse.manager.MiniblogServiceManager; 
    69import jp.xet.sabotter.eclipse.views.SabotterView; 
    710 
     
    4851                        MiniblogEntry miniblogEntry = (MiniblogEntry) entryObj; 
    4952                        try { 
    50                                 BrowserManager.openPage("http://twitter.com/{screenName}", // $NON-NLS-1$ 
    51                                                 miniblogEntry); 
     53                                String url = MiniblogServiceManager.getInstance().getUserHome(miniblogEntry); 
     54                                BrowserManager.openBrowser(url); 
    5255                        } catch (PartInitException e) { 
     56                                SabotterPlugin.handleException(e); 
     57                        } catch (MalformedURLException e) { 
    5358                                SabotterPlugin.handleException(e); 
    5459                        }