Code Mirror GWT

A GWT Wrapper for the CodeMirror Editor

License

License

Categories

Categories

GWT (Google Web Toolkit) User Interface Web Frameworks Mirror Application Layer Libs Introspection Protégé General Purpose Libraries Utility
GroupId

GroupId

edu.stanford.protege
ArtifactId

ArtifactId

codemirror-gwt
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Code Mirror GWT
A GWT Wrapper for the CodeMirror Editor
Project URL

Project URL

https://github.com/protegeproject/codemirror-gwt
Source Code Management

Source Code Management

https://github.com/protegeproject/codemirror-gwt

Download codemirror-gwt

How to add to project

<!-- https://jarcasting.com/artifacts/edu.stanford.protege/codemirror-gwt/ -->
<dependency>
    <groupId>edu.stanford.protege</groupId>
    <artifactId>codemirror-gwt</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/edu.stanford.protege/codemirror-gwt/
implementation 'edu.stanford.protege:codemirror-gwt:3.0.0'
// https://jarcasting.com/artifacts/edu.stanford.protege/codemirror-gwt/
implementation ("edu.stanford.protege:codemirror-gwt:3.0.0")
'edu.stanford.protege:codemirror-gwt:jar:3.0.0'
<dependency org="edu.stanford.protege" name="codemirror-gwt" rev="3.0.0">
  <artifact name="codemirror-gwt" type="jar" />
</dependency>
@Grapes(
@Grab(group='edu.stanford.protege', module='codemirror-gwt', version='3.0.0')
)
libraryDependencies += "edu.stanford.protege" % "codemirror-gwt" % "3.0.0"
[edu.stanford.protege/codemirror-gwt "3.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.guava : guava jar 20.0
com.google.guava : guava-gwt jar 20.0

provided (1)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.8.0

runtime (1)

Group / Artifact Type Version
com.google.gwt : gwt-servlet jar 2.8.0

test (3)

Group / Artifact Type Version
org.hamcrest : hamcrest-all jar 1.3
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.5

Project Modules

There are no modules declared in this project.

codemirror-gwt

A GWT wrapper around the CodeMirror syntax highlighter and editor.
The project also includes a Manchester OWL Syntax mode.

To Use

Add the following Maven dependency to your pom.xml

<dependency>
  <groupId>edu.stanford.protege</groupId>
  <artifactId>codemirror-gwt</artifactId>
  <version>2.0.0</version>
</dependency>

Add the following inherits to your GWT module

<inherits name="edu.stanford.bmir.gwtcodemirror.CodeMirror"/>

In your client side code, create an instance of GWTCodeMirror (which is a Widget). Use it like you would any other GWT widget.

You can also use GWTCodeMirror with the GWT UI binder if you wish. For example

<gwtcodemirror:GWTCodeMirror ui:field="editor"/>

where the namspace gwtcodemirror binds as

xmlns:gwtcodemirror="urn:import:edu.stanford.bmir.gwtcodemirror.client"
edu.stanford.protege

Protégé Project

Versions

Version
3.0.0
2.0.1
2.0.0
1.0.0