Package org.locationtech.udig.issues

Examples of org.locationtech.udig.issues.IIssuesList


    private IAction createRefreshAction() {
        final Action action = new Action() {
            @Override
            public void runWithEvent(Event event) {
                IIssuesList list = IIssuesManager.defaultInstance.getIssuesList();
                if( list instanceof IRemoteIssuesList )
                    try {
                        ((IRemoteIssuesList)list).refresh();
                    } catch (IOException e) {
                        IssuesActivator.log("", e); //$NON-NLS-1$
View Full Code Here


    if (viewer != null)
      viewer.getControl().setFocus();
  }

  private void updateViewer() {
        IIssuesList issues = IIssuesManager.defaultInstance
        .getIssuesList();
        IIssuesList resolvedIssues = this.resolvedIssues;

    removeDeadItems(issues, resolvedIssues, false);
    removeDeadItems(resolvedIssues, issues, true);

  }
View Full Code Here

    /**
     * Only for testing purposes.
     */
    public void testingAddListeners() {
        IIssuesList list = IIssuesManager.defaultInstance.getIssuesList();
        list.addListener(this.issuesListener);
    }
View Full Code Here

    /**
     * Checks preferences and creates the issues list. If it is somehow messed up then
     * {@link IssuesList}.
     */
    static IIssuesList createListFromPreferences() {
        IIssuesList issuesList = null;
        IPreferenceStore preferenceStore = IssuesActivator.getDefault().getPreferenceStore();
        String listID = preferenceStore.getString(IssuesPreferencePage.PREFERENCE_ID);
        List<IConfigurationElement> extensions = ExtensionPointList
                .getExtensionPointList(IssueConstants.ISSUES_LIST_EXTENSION_ID);
        for( IConfigurationElement element : extensions ) {
View Full Code Here

                for( IIssue issue : issuesList ) {
                    issue.removeIssueListener(dirtyListener);
                }
            }
           
            IIssuesList oldList = issuesList;
            issuesList = newList;
            testIssues(newList, null);
            this.dirtyListener = new DirtyIssueList();
            issuesList.addListener(dirtyListener);
           
View Full Code Here

        String string = element.getNamespaceIdentifier() + "." + element.getAttribute("id");//$NON-NLS-1$//$NON-NLS-2$
        getPreferenceStore().setValue(PREFERENCE_ID, string);
    }

    private void setList() {
        IIssuesList list = issuesList.list;
        if( list!=null )
            IIssuesManager.defaultInstance.setIssuesList(list);
        else
            IIssuesManager.defaultInstance.setIssuesList(IssuesManager.createListFromPreferences());
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.issues.IIssuesList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.