コード例 #1
0
 private String getLabel(DataFlowID dataFlowId) {
   IDataFlowLabelProvider labelProvider = ModuleSupport.getDataFlowLabelProvider();
   if (labelProvider != null) {
     String label = labelProvider.getLabel(dataFlowId);
     if (label != null) {
       return label;
     }
   }
   return dataFlowId.getValue();
 }
コード例 #2
0
 /** This object should only be constructed by {@link Activator}. */
 TradeSuggestionManager() {
   mSinkDataManager = ModuleSupport.getSinkDataManager();
   mSinkDataManager.register(this, OrderSingleSuggestion.class);
 }