Get the full list of currently selected features within this layer.

@return The list of selected features as an array.
555437
public Feature[] getSelectedFeatures() {
		Collection<org.geomajas.gwt.client.map.feature.Feature> selection = getLayer().getSelectedFeatureValues();
		Feature[] features = new Feature[selection.size()];
		int count = 0;
		for (org.geomajas.gwt.client.map.feature.Feature feature : selection) {
			features[count] = new FeatureImpl(feature.toDto(), this);
			count++;
		}
		return features;
	}
1045236
public String[] getLayerIds() {
		Set<String> layerIds = layerFilters.keySet();
		if (layerIds == null) {
			return new String[0];
		}
		return layerIds.toArray(new String[layerIds.size()]);
	}
1101843
public double[] getFeatures() {
    	double[] filteredFeatures = new double[features.length-1];
    	for (int i = 0; i<filteredFeatures.length; i++)
    		filteredFeatures[i]=features[i];
        return filteredFeatures;
    }
1004589
public JField []getFields()
  {
    ArrayList<JField> fieldList = new ArrayList<JField>();

    getFields(fieldList);

    JField []fields = new JField[fieldList.size()];
    fieldList.toArray(fields);

    return fields;
  }
549865
public String getSelectedFeature() {
		if (getNrSelectedFeatures() == 1) {
			for (VectorLayer layer : getVectorLayers()) {
				if (layer.getSelectedFeatures().size() > 0) {
					return layer.getSelectedFeatures().iterator().next();
				}
			}
		}
		return null;
	}
749985
public String[] getArray()
  {
    
    // Create a copy to return to provide isolation.
    String[] newArray = null;
        
    // Returning a list of the destination names excluding the
    // 'big' destination name.
    newArray = new String[fullMsgPath.size()-1];
    for (int i = 0; i < newArray.length; i++)
    {
      newArray[i] = ((SIDestinationAddress)fullMsgPath.get(i)).getDestinationName();
    }//for
    
    return newArray;
  }
1329768
private int[] getSelectedRows() {
        int iMin = model.getMinSelectionIndex();
        int iMax = model.getMaxSelectionIndex();

        if( (iMin == -1) || (iMax == -1) ) {
            return new int[0];
        }

        int[] rvTmp = new int[1 + (iMax - iMin)];
        int n = 0;
        for( int i = iMin; i <= iMax; i++ ) {
            if( model.isSelectedIndex(i) ) {
                rvTmp[n++] = i;
            }
        }
        int[] rv = new int[n];
        System.arraycopy(rvTmp, 0, rv, 0, n);
        return rv;
    }
1304348
public function getSelectLists()
    {
        if ($this->_aSelectLists === null) {
            $this->_aSelectLists = false;
            if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('bl_perfLoadSelectLists')) {
                $this->_aSelectLists = $this->getProduct()->getSelectLists();
            }
        }

        return $this->_aSelectLists;
    }
327172
public Contact[] getSelectedContacts() {
		int[] selected = getTable().getSelectedRows();
		Contact[] contacts = new Contact[selected.length];
		for (int i = 0; i < selected.length; i++) {
			contacts[i] = (Contact) getTableModel().getElementAt(selected[i]);
		}
		return contacts;
	}
1066289
def selectAll( self ):
        
        currLayer = self._currentLayer
        for item in self.items():
            layer = item.layer()
            if ( layer == currLayer or not layer ):
                item.setSelected(True)
1063313
public List<Option> getSelectedItems() {
        final List<Option> items = new ArrayList<>(0);
        for (Entry<OptionElement, Option> entry : itemMap.entrySet()) {
            Option opt = entry.getValue();
            if (opt.isSelected())
                items.add(opt);
        }
        return items;
    }
490500
public java.util.List<Selector> getSelectors() {
        if (selectors == null) {
            selectors = new com.amazonaws.internal.SdkInternalList<Selector>();
        }
        return selectors;
    }
641408
public int[] getPositions() {
    int[] list;
    if (assumeSinglePosition) {
      list = new int[1];
      list[0] = super.startPosition();
      return list;
    } else {
      try {
        processEncodedPayload();
        list = mtasPosition.getPositions();
        if (list != null) {
          return mtasPosition.getPositions();
        }
      } catch (IOException e) {
        log.debug(e);
        // do nothing
      }
      int start = super.startPosition();
      int end = super.endPosition();
      list = new int[end - start];
      for (int i = start; i < end; i++)
        list[i - start] = i;
      return list;
    }
  }
538426
public ArrayList<View> getCurrentViews() {
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "getCurrentViews()");
		}
		
		return viewFetcher.getViews(null, true);
	}
393741
public List<List<AbstractFeature>> getFlattenFeatureHierarchy() {
        List<List<AbstractFeature>> result = new ArrayList<>();

        List<AbstractFeature> previousLevel = new ArrayList<>(getSortedFeatures());
        result.add(previousLevel);

        while (!previousLevel.isEmpty()) {
            List<AbstractFeature> currentLevel = new ArrayList<>();
            boolean isTopLevel = true;

            for (AbstractFeature feature : previousLevel) {
                if (feature.getParentGroup() != null) {
                    isTopLevel = false;
                    currentLevel.add(feature.getParentGroup());
                } else {
                    currentLevel.add(feature);
                }

            }

            if (!isTopLevel) {
                result.add(currentLevel);
                previousLevel = currentLevel;
            } else {
                previousLevel = new ArrayList<>();
            }
        }

        Collections.reverse(result);

        return result;
    }
704126
public List<Term> getAllTerms() {
        List<Term> ret = new ArrayList<Term>();

        if (terms != null) {
            ret.addAll(terms);
            for (final Term term : terms) {
                ret.addAll(term.getAllTerms());
            }
        }

        return ret;
    }
1250008
private List getDestinations() {

        List result = new ArrayList();
        result.add(new CmsSelectWidgetOption("WEB-INF/classes/"));
        result.add(new CmsSelectWidgetOption("WEB-INF/lib/"));
        return result;
    }