예제 #1
0
 public void moveTask() {
   if (!viewer.getSelection().isEmpty()) {
     IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
     Task p = (Task) selection.getFirstElement();
     input.remove(p);
   }
 }
예제 #2
0
 private void deleteTODO() {
   if (!viewer.getSelection().isEmpty()) {
     IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
     Task p = (Task) selection.getFirstElement();
     input.remove(p);
   }
 }
예제 #3
0
 private void remove(final MarketDataViewItem item) {
   mItemMap.remove(item.getEquity());
   mItems.remove(item);
   item.dispose();
 }
 /**
  * Removes a trade suggestion from the managed collection.
  *
  * @param suggestion suggestion to remove
  */
 public void removeSuggestion(TradeSuggestion suggestion) {
   mSuggestions.remove(suggestion);
 }