Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh311 regex rules config ide #314

Open
wants to merge 19 commits into
base: GH220-code-mirror-mobile
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
cceecc1
GH21 - after merge fix
razvan-tache Oct 26, 2013
d6a149e
GH21 - Removed some uselles code in PropertiesRenderer
razvan-tache Oct 26, 2013
b84e193
GH21 - made the IPropertiesProvider abstract, and added the
razvan-tache Oct 26, 2013
1a58e86
GH21 - Added icon and label to the element selected;
razvan-tache Oct 26, 2013
7ce65ae
GH21 - resolved icon link for CodeSyncPropertiesProvider
razvan-tache Oct 29, 2013
7000b6f
Merge remote-tracking branch 'origin/GH21-GeneralPropertiesEditor'
razvan-tache Nov 1, 2013
771ee37
GH21 - Fixed a problem where the name of the elements wasn't proper
razvan-tache Nov 4, 2013
dbbf069
GH21 - Improved the renderers class quality
razvan-tache Nov 12, 2013
f77c932
GH331 - client interface (partial implementation)
cristina-constantinescu Nov 15, 2013
30b6c86
GH233 - multi level actions (>2): visibility not correctly evaluated in
cristina-constantinescu Nov 15, 2013
eae33cf
GH311 - configure regex perspective + populate web menu after welcome
cristina-constantinescu Nov 21, 2013
64b4b0f
GH311 - commit before merging with properties
cristina-constantinescu Nov 26, 2013
c61dbb8
Merge remote-tracking branch 'origin/GH21-GeneralPropertiesEditor' into
cristina-constantinescu Nov 26, 2013
ab131e1
GH311 - solved issue: sometimes, expand/collapse image from tree list
cristina-constantinescu Nov 27, 2013
9b361c5
GH311 - solved issue: NullPointerException thrown when double click in
cristina-constantinescu Nov 27, 2013
c85d21a
GH311 - parser regex view
cristina-constantinescu Nov 28, 2013
fcd2737
GH311 - correction: author name
cristina-constantinescu Dec 3, 2013
0bc30d3
GH311 - add server side mechanism for regex configurations + move
cristina-constantinescu Dec 5, 2013
8d028cf
GH311 - fill parserRegexes & macroRegexes when views added + show log to
cristina-constantinescu Dec 9, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
import org.apache.commons.io.FileUtils;
import org.eclipse.core.runtime.FileLocator;
import org.flowerplatform.codesync.code.javascript.config.JavaScriptDescriptors;
import org.flowerplatform.codesync.code.javascript.parser.Parser;
import org.flowerplatform.common.plugin.AbstractFlowerJavaPlugin;
import org.flowerplatform.communication.CommunicationPlugin;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.ImporterTopLevel;
import org.mozilla.javascript.Scriptable;
Expand All @@ -42,6 +44,8 @@ public class CodeSyncCodeJavascriptPlugin extends AbstractFlowerJavaPlugin {
protected static CodeSyncCodeJavascriptPlugin INSTANCE;

public static String TECHNOLOGY = "js";

public Parser javaScriptParser;

public static CodeSyncCodeJavascriptPlugin getInstance() {
return INSTANCE;
Expand All @@ -56,6 +60,8 @@ public void start(BundleContext context) throws Exception {
super.start(context);
INSTANCE = this;



// descriptors for js code
CodeSyncPlugin.getInstance().addRunnablesForLoadDescriptors(new JavaScriptDescriptors());

Expand All @@ -70,6 +76,16 @@ public void start(BundleContext context) throws Exception {
// });

CodeSyncPlugin.getInstance().addSrcDir("js");

CommunicationPlugin.getInstance().getAllServicesStartedListeners().add(new Runnable() {
@Override
public void run() {
javaScriptParser = new Parser();
javaScriptParser.configureHtmlRegexActions();
javaScriptParser.configureJSRegexActions();
}
});

}

/**
Expand Down
Loading