[doc] Minor Getting started cheat sheet update
diff --git a/doc/org.eclipse.mylyn.docs.intent.idoc/cheatsheets/Intent_GetStarted.xml b/doc/org.eclipse.mylyn.docs.intent.idoc/cheatsheets/Intent_GetStarted.xml
index 6ac0bfc..4ae8000 100644
--- a/doc/org.eclipse.mylyn.docs.intent.idoc/cheatsheets/Intent_GetStarted.xml
+++ b/doc/org.eclipse.mylyn.docs.intent.idoc/cheatsheets/Intent_GetStarted.xml
@@ -4,7 +4,9 @@
<description>
This Getting started cheat sheet will give you an overview of the Intent features on a simple example.<br/>
It is automatically opened when a new Intent Project is created. Notice that you can disable this behavior through Mylyn Intent Preferences (Window > Preferences > Mylyn > Intent > Other).<br/><br/>
+To get a more complete overview of Intent, you can read the <b>Intent User Guide</b> (available from Eclipse Help - Help> Help Contents> Mylyn or by clicking on the question mark of this Cheat Sheet).
+<br/><br/>
<b>General overview: What is Mylyn Intent?</b><br/>
In a nutshell, Intent is a documentation environment providing tooling to:
<br/>- efficiently write documentation within the Eclipse IDE
diff --git a/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/navigator/ProjectExplorerRefreshJob.java b/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/navigator/ProjectExplorerRefreshJob.java
index 80caf68..9f9686c 100644
--- a/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/navigator/ProjectExplorerRefreshJob.java
+++ b/plugins/org.eclipse.mylyn.docs.intent.client.ui.ide/src/org/eclipse/mylyn/docs/intent/client/ui/ide/navigator/ProjectExplorerRefreshJob.java
@@ -21,9 +21,6 @@
import org.eclipse.emf.ecore.EObject;
import org.eclipse.mylyn.docs.intent.client.ui.ide.Activator;
import org.eclipse.mylyn.docs.intent.client.ui.ide.builder.IntentNature;
-import org.eclipse.mylyn.docs.intent.core.document.IntentStructuredElement;
-import org.eclipse.mylyn.docs.intent.core.indexer.IntentIndex;
-import org.eclipse.mylyn.docs.intent.core.indexer.IntentIndexEntry;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IViewReference;
import org.eclipse.ui.IWorkbenchPage;
@@ -112,23 +109,7 @@
private void refreshProjectExplorer(final ProjectExplorer projectExplorer) {
CommonViewer commonViewer = projectExplorer.getCommonViewer();
if (!commonViewer.getControl().isDisposed()) {
- if (elementToRefresh instanceof IntentIndex
- && ((IntentIndex)elementToRefresh).getEntries().size() > 0) {
- elementToRefresh = ((IntentIndex)elementToRefresh).getEntries().iterator().next()
- .getReferencedElement();
- } else if (elementToRefresh instanceof IntentIndexEntry) {
- elementToRefresh = ((IntentIndexEntry)elementToRefresh).getReferencedElement();
- }
- if (elementToRefresh instanceof IntentStructuredElement) {
- // We try to refresh the element container (if not null)
- if (elementToRefresh.eContainer() != null) {
- commonViewer.refresh(elementToRefresh.eContainer(), true);
- } else {
- commonViewer.refresh(elementToRefresh, true);
- }
- } else {
- commonViewer.refresh(project, true);
- }
+ commonViewer.refresh(project, true);
}
}
}