Class PieceDistributionView

    • Field Detail

      • comp

        private org.eclipse.swt.widgets.Composite comp
      • pieceDistCanvas

        private org.eclipse.swt.widgets.Canvas pieceDistCanvas
      • hasPieces

        protected boolean[] hasPieces
      • isMe

        protected boolean isMe
      • initialized

        private boolean initialized
      • imgToPaint

        private org.eclipse.swt.graphics.Image imgToPaint
    • Constructor Detail

      • PieceDistributionView

        public PieceDistributionView()
    • Method Detail

      • dataSourceChanged

        public abstract void dataSourceChanged​(java.lang.Object newDataSource)
        implementors of this method must provide an appropriate peer manager and possibly provide the hasPieces array for pieces the data source has
      • getFullTitle

        private java.lang.String getFullTitle()
      • initialize

        private void initialize​(org.eclipse.swt.widgets.Composite parent)
      • createPieceDistPanel

        private void createPieceDistPanel()
      • updateDistribution

        private final void updateDistribution()
      • refresh

        public void refresh()
      • getComposite

        private org.eclipse.swt.widgets.Composite getComposite()
      • delete

        private void delete()
      • viewActivated

        private void viewActivated()
      • viewDeactivated

        private void viewDeactivated()