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(); }
/** This object should only be constructed by {@link Activator}. */ TradeSuggestionManager() { mSinkDataManager = ModuleSupport.getSinkDataManager(); mSinkDataManager.register(this, OrderSingleSuggestion.class); }