Skip to content

Commit

Permalink
Merge pull request #3 from anjlab/tapestry-view
Browse files Browse the repository at this point in the history
Tapestry view
  • Loading branch information
dmitrygusev committed Sep 9, 2013
2 parents 05e7378 + f3758e5 commit 766125b
Show file tree
Hide file tree
Showing 21 changed files with 2,411 additions and 225 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ Yet another Design/Code switcher for Tapestry5 applications.

![Screenshot](https://f.cloud.github.com/assets/76579/1050715/4503627e-10be-11e3-8bf2-b9e6ccc2628b.png)

### Tapestry Context View

Go to *Window* -> *Show View* -> *Other...*, filter by "Tapestry" and select "Tapestry Context".

Tapestry Context View will appear (top right on this screenshot):

- Provides context for opened Tapestry file
- Includes code/template files of selected page/component, as well as list of properties files and @Import'ed assets
- Click on the file in a view to open this file
- Simple validation implemented to highlight assets that couldn't be resolved (supports default or 'context:' binding prefixes)

![Screenshot](https://f.cloud.github.com/assets/76579/1105085/c106e906-1918-11e3-9525-68839dcc89b2.png)


### Install

In Eclipse go to *Help* -> *Install New Software...* -> *Add...*
Expand Down
2 changes: 1 addition & 1 deletion com.anjlab.eclipse.tapestry5.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="com.anjlab.eclipse.tapestry5.feature"
label="Eclipse Integration for Tapestry5 Feature"
version="1.0.2"
version="1.1.0"
provider-name="AnjLab Team"
plugin="com.anjlab.eclipse.tapestry5">

Expand Down
6 changes: 4 additions & 2 deletions com.anjlab.eclipse.tapestry5/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Eclipse Integration for Tapestry5
Bundle-SymbolicName: com.anjlab.eclipse.tapestry5;singleton:=true
Bundle-Version: 1.0.2
Bundle-Version: 1.1.0
Bundle-Activator: com.anjlab.eclipse.tapestry5.Activator
Bundle-Vendor: AnjLab Team
Require-Bundle: org.eclipse.ui,
Expand All @@ -12,7 +12,9 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.ide,
org.eclipse.jdt.core
org.eclipse.jdt.core,
org.eclipse.ui.workbench.texteditor;bundle-version="3.8.100",
org.eclipse.jdt.ui;bundle-version="3.9.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
26 changes: 26 additions & 0 deletions com.anjlab.eclipse.tapestry5/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,31 @@
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<category
id="com.anjlab.eclipse.tapestry5"
name="Tapestry5">
</category>
<view
category="com.anjlab.eclipse.tapestry5"
class="com.anjlab.eclipse.tapestry5.views.TapestryContextView"
icon="icons/tapestry-logo.png"
id="com.anjlab.eclipse.tapestry5.views.TapestryContextView"
name="Tapestry Context">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="com.anjlab.eclipse.tapestry5.views.TapestryContextView"
ratio="0.5"
relationship="top"
relative="org.eclipse.ui.views.ContentOutline">
</view>
</perspectiveExtension>
</extension>

</plugin>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.anjlab.eclipse.tapestry5;

public class AssetException extends Exception
{
private static final long serialVersionUID = 1L;

public AssetException(String message)
{
super(message);
}

public AssetException(String message, Throwable cause)
{
super(message, cause);
}
}
Loading

0 comments on commit 766125b

Please sign in to comment.