Refreshes the display of the resource permission display.<p>
162266
@SuppressWarnings("unchecked")
    private void refreshOwnEntries() {

        m_resourcePermissions.removeAllComponents();
        String sitePath = m_cms.getSitePath(m_resource);

        // create new ArrayLists in which inherited and non inherited entries are stored
        ArrayList<CmsAccessControlEntry> ownEntries = new ArrayList<CmsAccessControlEntry>();
        try {
            Iterator<CmsAccessControlEntry> itAces = m_cms.getAccessControlEntries(sitePath, false).iterator();
            HashSet<CmsPermissionBean> newBeans = (HashSet<CmsPermissionBean>)((HashSet<CmsPermissionBean>)(m_permissionToChange)).clone();
            while (itAces.hasNext()) {
                CmsAccessControlEntry curEntry = itAces.next();
                if (!curEntry.isInherited()) {
                    // add the entry to the own rights list
                    CmsPermissionBean bean = CmsPermissionBean.getBeanForPrincipal(
                        m_permissionToChange,
                        CmsPermissionBean.getPrincipalNameFromACE(m_cms, curEntry));
                    if (bean == null) {
                        ownEntries.add(curEntry);
                    } else {
                        if (!bean.isDeleted()) {
                            ownEntries.add(bean.toAccessControlEntry(m_cms, m_resource.getStructureId()));
                        }
                        //No new entry -> remove from new list
                        newBeans.remove(bean);
                    }
                }
            }
            for (CmsPermissionBean newBean : newBeans) {
                if (!newBean.isDeleted()) {
                    ownEntries.add(newBean.toAccessControlEntry(m_cms, m_resource.getStructureId()));
                }
            }
        } catch (CmsException e) {
            // can usually be ignored
        }

        addEntryTableToLayout(ownEntries, m_resourcePermissions, true, false);
    }
572584
protected void displayResult() {

        if (m_thread.getMatchedResources().isEmpty()) {
            m_resultTable.setVisible(false);
            m_infoIntroLayout.setVisible(false);
            m_infoEmptyResult.setVisible(true);
        } else {
            m_resultTable.setVisible(true);
            m_infoIntroLayout.setVisible(false);
            m_infoEmptyResult.setVisible(false);
        }
        m_resultTable.fillTable(A_CmsUI.getCmsObject(), m_thread.getMatchedResources());
        m_searchForm.removeComponent(m_report);
        m_report = null;
    }
681642
protected void checkPermissionsForMassEdit(CmsObject cms) throws CmsException {

        OpenCms.getRoleManager().checkRoleForResource(cms, CmsRole.ADMINISTRATOR, "/");
    }
108279
public void reload() {

        m_table.init();
        if (!CmsStringUtil.isEmptyOrWhitespaceOnly(m_resourcetypeTableFilter.getValue())) {
            m_table.filterTable(m_resourcetypeTableFilter.getValue());
        }
    }
778966
private void refreshViewHolders() {
        if (mAdapter != null) {

            for (ViewHolder holder : mViewHolders.getAll()) {
                if (holder != null) {
                    // cell item
                    refreshItemViewHolder(holder, mState.isRowDragging(), mState.isColumnDragging());
                }
            }

            if (mState.isColumnDragging()) {
                refreshAllColumnHeadersHolders();
                refreshAllRowHeadersHolders();
            } else {
                refreshAllRowHeadersHolders();
                refreshAllColumnHeadersHolders();
            }

            if (mLeftTopViewHolder != null) {
                refreshLeftTopHeaderViewHolder(mLeftTopViewHolder);
                mLeftTopViewHolder.getItemView().bringToFront();
            }


        }
    }
597321
@Override public final void onViewRecycled(VH holder) {
    int position = holder.getAdapterPosition();

    if (isHeaderPosition(position)) {
      onHeaderViewRecycled(holder);
    } else if (isFooterPosition(position)) {
      onFooterViewRecycled(holder);
    } else {
      onItemViewRecycled(holder);
    }
  }
847550
public void onResume() {
		if (requestPermissionOnStart && firstTime) {
			checkPermission(false);
			firstTime = false;
		} else if (pendingAppInfoDialog) {
			pendingAppInfoDialog = false;
			showAppInfoDialog();
		}
	}
1062842
@Override
    public void refreshView()
    {
        boxTree.setModel(new BoxTreeModel(proc.getPage().getRoot()));
        if (proc.getAreaTree() != null)
        {
            TreePath path = areaJTree.getSelectionPath();
            areaJTree.setModel(new AreaTreeModel(proc.getAreaTree().getRoot()));
            if (path != null)
                areaJTree.setSelectionPath(path);
        }
        if (proc.getLogicalAreaTree() != null)
        {
            TreePath path = logicalTree.getSelectionPath();
            logicalTree.setModel(new LogicalTreeModel(proc.getLogicalAreaTree().getRoot()));
            if (path != null)
                logicalTree.setSelectionPath(path);
        }
    }
766610
function() {

		if (this._is_inDOM) {

			if (this._container) {

				this._is_dirty = true;

				if (!this._is_queued_for_refresh) {

					Lava.view_manager.scheduleViewRefresh(this);
					this._is_queued_for_refresh = true;

				}

			} else if (this._parent_with_container) {

				this._parent_with_container.trySetDirty();

			}

		}

	}
851063
void showSourcesWindow(String resource) {

        final Window window = CmsBasicDialog.prepareWindow(DialogWidth.wide);
        CmsSourceDialog sourceDialog = new CmsSourceDialog(m_manager, new Runnable() {

            public void run() {

                window.close();
            }
        });
        sourceDialog.setSource(resource);
        window.setCaption(CmsVaadinUtils.getMessageText(Messages.GUI_SEARCHINDEX_INDEXSOURCE_SHOW_1, resource));
        window.setContent(sourceDialog);
        UI.getCurrent().addWindow(window);
    }
1197312
private void permissionWithoutUsage() {
        if (isUsingNonJava)
            return;
        synchronized (permanentUserReadWriteLock) {
            permissionWithoutUsageLimit = LocalDateTime.now().plus(10, ChronoUnit.SECONDS);
            permissionWithoutUsageCloseThread =  getMain().getThreadPoolManager().getAddOnsThreadPool()
                    .submit((Runnable)() -> {
                try {
                    Thread.sleep(10000);
                    fireLineAccessEndedNotification();
                    endPermanent(permanentAddOn);
                } catch (InterruptedException ignored) {
                    //ignored.printStackTrace();
                }
            });
        }
    }
1337767
protected void showReport() {

        m_confirm.setVisible(false);
        m_report.setVisible(true);
        CmsSynchronizeThread thread = new CmsSynchronizeThread(A_CmsUI.getCmsObject());
        thread.start();
        CmsReportWidget widget = new CmsReportWidget(thread);
        widget.setHeight("500px");
        widget.setWidth("100%");
        m_report.addComponent(widget);
        m_okButton.setEnabled(false);
    }
1128951
@Override
    protected void updateVisibility(boolean visible, boolean activated) {
        tab.setVisible(visible);
        tab.setSelected(visible && activated);
    }
783537
protected void reinitContent(CmsResourceStatusBean statusBean) {

        int selected = m_tabPanel.getSelectedIndex();
        for (int i = 0; i < m_tabPanel.getTabCount(); i++) {
            CmsTabContentWrapper wrapper = m_tabPanel.getWidget(i);
            if (wrapper.getWidget() instanceof CmsResourceInfoView) {
                ((CmsResourceInfoView)wrapper.getWidget()).initContent(statusBean);
            } else if (wrapper.getWidget() instanceof CmsResourceRelationView) {
                ((CmsResourceRelationView)wrapper.getWidget()).initContent(statusBean);
                if (i == selected) {
                    ((CmsResourceRelationView)wrapper.getWidget()).onResizeDescendant();
                }
            }
        }
    }
667508
protected void refreshAdapter() {
        if (mAdapter == null) {
            mAdapter = createMonthAdapter(mController);
        } else {
            mAdapter.setSelectedDay(mSelectedDay);
            if (pageListener != null) pageListener.onPageChanged(getMostVisiblePosition());
        }
        // refresh the view with the new parameters
        setAdapter(mAdapter);
    }
449521
private void requestPermission(String... permissions) {
        AndPermission.with(this)
            .runtime()
            .permission(permissions)
            .rationale(new RuntimeRationale())
            .onGranted(new Action<List<String>>() {
                @Override
                public void onAction(List<String> permissions) {
                    toast(R.string.successfully);
                }
            })
            .onDenied(new Action<List<String>>() {
                @Override
                public void onAction(@NonNull List<String> permissions) {
                    toast(R.string.failure);
                    if (AndPermission.hasAlwaysDeniedPermission(MainActivity.this, permissions)) {
                        showSettingDialog(MainActivity.this, permissions);
                    }
                }
            })
            .start();
    }
1147155
@Override
  public void refreshGuiAndShowFile(File file) {
    if(rootNode.getChildCount() > 0) {
      rootNode.removeAllChildren();
      treeModel.reload();
    }
    if(guiMain.getAsmProjectUml().getProjectUml() != null) {
      addTreeNodes(file);
      guiMain.getMenuMain().setVisibleProjectMenu(true);
    }
    else {
      guiMain.getMenuMain().setVisibleProjectMenu(false);
    }
  }