diff options
author | Brian de Alwis | 2016-01-22 21:10:13 +0000 |
---|---|---|
committer | Brian de Alwis | 2016-01-22 21:48:42 +0000 |
commit | 8124ef1b34163de3a3e4a6f3c39f2045a25ceffc (patch) | |
tree | 86bb4a0c9ba294dd571f7165a152205c9bc01662 /org.eclipse.ui.intro.quicklinks.examples | |
parent | de5846610979bdc09d2cc46a2e0eb352707a3322 (diff) | |
download | eclipse.platform.ua-8124ef1b34163de3a3e4a6f3c39f2045a25ceffc.tar.gz eclipse.platform.ua-8124ef1b34163de3a3e4a6f3c39f2045a25ceffc.tar.xz eclipse.platform.ua-8124ef1b34163de3a3e4a6f3c39f2045a25ceffc.zip |
Bug 466370 - [UX] Welcome Screen redesign
Add a new Intro viewer component, Quicklinks, to show a set of
useful actions from the Welcome.
Change-Id: Icc3d94a6efc0d593b3158b56188befdbfb0e1f68
Diffstat (limited to 'org.eclipse.ui.intro.quicklinks.examples')
7 files changed, 142 insertions, 0 deletions
diff --git a/org.eclipse.ui.intro.quicklinks.examples/.classpath b/org.eclipse.ui.intro.quicklinks.examples/.classpath new file mode 100644 index 000000000..eca7bdba8 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/org.eclipse.ui.intro.quicklinks.examples/.project b/org.eclipse.ui.intro.quicklinks.examples/.project new file mode 100644 index 000000000..e58cb1036 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.ui.intro.quicklinks.examples</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/org.eclipse.ui.intro.quicklinks.examples/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.ui.intro.quicklinks.examples/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..0c68a61dc --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/org.eclipse.ui.intro.quicklinks.examples/META-INF/MANIFEST.MF b/org.eclipse.ui.intro.quicklinks.examples/META-INF/MANIFEST.MF new file mode 100644 index 000000000..79c0fd0c6 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Examples of Welcome/Intro Quicklinks +Bundle-SymbolicName: org.eclipse.ui.intro.quicklinks.examples;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Vendor: Eclipse.org +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.ui.intro;bundle-version="3.4.300", + org.eclipse.ui.intro.universal;bundle-version="3.2.800", + org.eclipse.ui.intro.quicklinks diff --git a/org.eclipse.ui.intro.quicklinks.examples/build.properties b/org.eclipse.ui.intro.quicklinks.examples/build.properties new file mode 100644 index 000000000..e9863e281 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/org.eclipse.ui.intro.quicklinks.examples/plugin.xml b/org.eclipse.ui.intro.quicklinks.examples/plugin.xml new file mode 100644 index 000000000..e5a43d796 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/plugin.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<!-- + Copyright (c) 2016 Manumitting Technologies Inc and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Manumitting Technologies Inc - initial API and implementation + --> +<plugin> + <extension + point="org.eclipse.ui.intro.quicklinks"> + <!-- Invoke a simple command --> + <quicklink + command="org.eclipse.ui.edit.text.openLocalFile" + description="Open a single file" + label="Open an existing file" + standby="true"> + </quicklink> + + <!-- + Open the New Java Project wizard; note that icon is provided by <override> below; + want to override label and description as the command description is generic + --> + <quicklink + command="org.eclipse.ui.newWizard(newWizardId=org.eclipse.jdt.ui.wizards.JavaProjectWizard)" + description="Create a new Java Eclipse project" + label="Create a new Java project" + standby="true"> + </quicklink> + + <!-- Open the Import Existing Project --> + <quicklink + command="org.eclipse.ui.file.import(importWizardId=org.eclipse.ui.wizards.import.ExternalProject)" + description="Import an already existing project into Eclipse" + icon="platform:/plugin/org.eclipse.ui/icons/full/wizban/import_wiz.png" + label="Import an existing project" + standby="true"> + </quicklink> + + <!-- Cause all New XXX quicklinks to use the wizban/new_wiz image --> + <override + command="org.eclipse.ui.newWizard*" + icon="platform:/plugin/org.eclipse.ui/icons/full/wizban/new_wiz.png" + theme="org.eclipse.ui.intro.universal.solstice"> + </override> + + <!-- + Use default labelling and icon from showMPC command; importance should + cause it to be sorted above other commands + --> + <quicklink + command="org.eclipse.epp.mpc.ui.command.showMarketplaceWizard" + importance="high"> + </quicklink> + </extension> + +</plugin> diff --git a/org.eclipse.ui.intro.quicklinks.examples/pom.xml b/org.eclipse.ui.intro.quicklinks.examples/pom.xml new file mode 100644 index 000000000..5f3a0fd95 --- /dev/null +++ b/org.eclipse.ui.intro.quicklinks.examples/pom.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2012, 2016 Eclipse Foundation. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Distribution License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/org/documents/edl-v10.php + + Contributors: + Igor Fedorenko - initial implementation + Manumitting Technologies Inc - adapted for quicklinks +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>eclipse.platform.ua</artifactId> + <groupId>eclipse.platform.ua</groupId> + <version>4.6.0-SNAPSHOT</version> + </parent> + <groupId>org.eclipse.ui</groupId> + <artifactId>org.eclipse.ui.intro.quicklinks.examples</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>eclipse-plugin</packaging> +</project> |