Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
151 changed files
with
22,657 additions
and
229 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
modules/gwtorganise/.externalToolBuilders/New_Builder.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType"> | |||
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/> | |||
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> | |||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | |||
<listEntry value="/gwtorganise/build.xml"/> | |||
</listAttribute> | |||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | |||
<listEntry value="1"/> | |||
</listAttribute> | |||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> | |||
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> | |||
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/> | |||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="gwtorganise"/> | |||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/gwtorganise/build.xml}"/> | |||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> | |||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> | |||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/gwtorganise}"/> | |||
</launchConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/gwtorganise/.settings/com.google.gwt.eclipse.core.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!-- Generate a java class with the current svn revision number --> | |||
<project> | |||
<echo>Generate build info class...</echo> | |||
<tstamp> | |||
<format property="TODAY" pattern="EEE, d-MMMM-yyyy HH:mm:ss z" locale="ENGLISH, GERMANY"/> | |||
</tstamp> | |||
<echo>Virtual PVT Cell Revision: ${svn.revision}</echo> | |||
<echo>Time stamp ${TODAY}</echo> | |||
<echo>Write build info to file ${basedir}\helpers\BuildInfo.java</echo> | |||
<!-- the source code of the java class --> | |||
<echo file="${basedir}\helpers\revision.php"> | |||
<?php defined("SYSPATH") or die("No direct script access."); | |||
class revision_Core { | |||
static function getTimeStamp(){ | |||
return "${TODAY}"; | |||
} | |||
} | |||
|
|||
</echo> | |||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
|
|||
<?php defined("SYSPATH") or die("No direct script access."); | |||
class revision_Core { | |||
static function getTimeStamp(){ | |||
return "Fri, 16-April-2010 14:55:28 NZST"; | |||
} | |||
} | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
modules/gwtorganise/src/com/gloopics/g3viewer/client/ConfirmDialogBox.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,73 @@ | |||
package com.gloopics.g3viewer.client; | |||
|
|||
import com.google.gwt.event.dom.client.ClickEvent; | |||
import com.google.gwt.event.dom.client.ClickHandler; | |||
import com.google.gwt.http.client.RequestBuilder; | |||
import com.google.gwt.http.client.RequestException; | |||
import com.google.gwt.user.client.ui.Button; | |||
import com.google.gwt.user.client.ui.DialogBox; | |||
import com.google.gwt.user.client.ui.DockPanel; | |||
import com.google.gwt.user.client.ui.FlowPanel; | |||
import com.google.gwt.user.client.ui.HTML; | |||
|
|||
|
|||
public class ConfirmDialogBox extends DialogBox { | |||
|
|||
public ConfirmCallBack m_Callback; | |||
private final HTML m_Dialog; | |||
|
|||
public interface ConfirmCallBack{ | |||
void ok(); | |||
} | |||
|
|||
public ConfirmDialogBox(G3Viewer a_Parent){ | |||
m_Dialog = new HTML("Empty"); | |||
initComponents(); | |||
} | |||
|
|||
public void initComponents(){ | |||
setModal(true); | |||
addStyleName("dialog"); | |||
setAnimationEnabled(true); | |||
setText("Confirm"); | |||
|
|||
Button close = new Button("Cancel", new ClickHandler() { | |||
|
|||
public void onClick(ClickEvent event) { | |||
ConfirmDialogBox.this.hide(); | |||
|
|||
} | |||
}); | |||
|
|||
|
|||
Button ok = new Button("ok", new ClickHandler() { | |||
|
|||
public void onClick(ClickEvent event) { | |||
if (m_Callback!=null) | |||
{ | |||
m_Callback.ok(); | |||
} | |||
|
|||
ConfirmDialogBox.this.hide(); | |||
} | |||
}); | |||
|
|||
FlowPanel fp = new FlowPanel(); | |||
fp.add(ok); | |||
fp.add(close); | |||
fp.addStyleName("dButtons"); | |||
DockPanel dp = new DockPanel(); | |||
dp.add(m_Dialog , DockPanel.CENTER); | |||
dp.add(fp, DockPanel.SOUTH); | |||
dp.addStyleName("dContents"); | |||
add(dp); | |||
|
|||
} | |||
|
|||
public void doDialog(String a_Message, ConfirmCallBack a_Callback){ | |||
m_Callback = a_Callback; | |||
m_Dialog.setHTML(a_Message); | |||
show(); | |||
} | |||
|
|||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.