Updated css
Updated pom at version 6.12 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@128592 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
daab415b6d
commit
3db5f2f2b4
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/workspace-6.11.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<classpathentry kind="src" output="target/workspace-6.12.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
|
@ -26,5 +26,6 @@
|
|||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/workspace-6.11.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
|
||||
<classpathentry kind="output" path="target/workspace-6.12.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</classpath>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
<dependent-module archiveName="workspace-tree-widget-6.11.2-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-TRUNK/workspace-tree-widget-TRUNK">
|
||||
<dependent-module archiveName="workspace-tree-widget-6.12.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-TRUNK/workspace-tree-widget-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="workspace-uploader-1.1.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-uploader-TRUNK/workspace-uploader-TRUNK">
|
||||
<dependent-module archiveName="workspace-uploader-1.2.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-uploader-TRUNK/workspace-uploader-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -61,11 +61,11 @@
|
|||
<dependencies>
|
||||
|
||||
<!-- UNCOMMENT THIS TO RUN IN DEVO MODE -->
|
||||
<!-- <dependency> -->
|
||||
<!-- <groupId>xerces</groupId> -->
|
||||
<!-- <artifactId>xerces</artifactId> -->
|
||||
<!-- <version>2.4.0</version> -->
|
||||
<!-- </dependency> -->
|
||||
<dependency>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xerces</artifactId>
|
||||
<version>2.4.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- This dependency is needed and is need on TOP to use GWT UI BInder
|
||||
without old Xerces version of gCore complaining -->
|
||||
|
@ -151,6 +151,12 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.gcube.applicationsupportlayer</groupId>
|
||||
<artifactId>aslsocial</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>workspace-tree-widget</artifactId>
|
||||
|
|
|
@ -853,7 +853,7 @@ public class AppController implements SubscriberInterface {
|
|||
List<FileModel> ingnoreFile = new ArrayList<FileModel>(size);
|
||||
for (FileModel file : targets) {
|
||||
GWT.log("Checking file "+file);
|
||||
if((file.getType()!=null && file.getType().equals(GXTFolderItemTypeEnum.SHARED_FOLDER.toString())) || file.isSpecialFolder()){
|
||||
if(file.getType()!=null && file.getType().equals(GXTFolderItemTypeEnum.SHARED_FOLDER.toString()) || file.isSpecialFolder()){
|
||||
ingnoreFile.add(file);
|
||||
clearTargets.remove(file);
|
||||
}
|
||||
|
@ -875,7 +875,6 @@ public class AppController implements SubscriberInterface {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
final DialogConfirm confirm = new DialogConfirm(null, ConstantsExplorer.MESSAGE_DELETE,msg);
|
||||
confirm.setModal(true);
|
||||
confirm.center();
|
||||
|
@ -916,19 +915,17 @@ public class AppController implements SubscriberInterface {
|
|||
msg+=gbi.getOldItemName()+"; ";
|
||||
idErros.add(gbi.getOldItemId());
|
||||
}
|
||||
MessageBox.alert("Error", msg, null);
|
||||
|
||||
MessageBox.alert("Error", msg, null);
|
||||
int diff = ids.size()-errors.size();
|
||||
|
||||
if(diff>0){
|
||||
|
||||
List<String> deletable = new ArrayList<String>(diff);
|
||||
//Deleting item from grid
|
||||
for (String id : ids) {
|
||||
if(!idErros.contains(id)) //is not an error so is deletable
|
||||
deletable.add(id);
|
||||
}
|
||||
|
||||
deleteItems(deletable);
|
||||
}
|
||||
}else
|
||||
|
@ -946,51 +943,6 @@ public class AppController implements SubscriberInterface {
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
/*
|
||||
MessageBoxConfirm mbc = new MessageBoxConfirm(ConstantsExplorer.MESSAGE_DELETE, "Are you sure you want to delete "+size+" items?");
|
||||
|
||||
mbc.getMessageBoxConfirm().addCallback(new Listener<MessageBoxEvent>() {
|
||||
|
||||
public void handleEvent(MessageBoxEvent be) {
|
||||
|
||||
// eventBus.fireEvent(new DeleteItemEvent(sel));
|
||||
|
||||
//IF NOT CANCELLED
|
||||
String clickedButton = be.getButtonClicked().getItemId();
|
||||
if(clickedButton.equals(Dialog.YES)){
|
||||
|
||||
wsPortlet.getGridGroupContainer().mask("Deleting",ConstantsExplorer.LOADINGSTYLE);
|
||||
|
||||
appContrExplorer.getRpcWorkspaceService().deleteListItemsForIds(event.getListTarget(), new AsyncCallback<Void>() {
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable arg0) {
|
||||
new MessageBoxAlert("Error", arg0.getMessage(),null);
|
||||
wsPortlet.getGridGroupContainer().unmask();
|
||||
appContrExplorer.refreshRoot(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(Void arg0) {
|
||||
|
||||
//Deleting item from grid
|
||||
for (String id : event.getListTarget()) {
|
||||
deleteItem(id);
|
||||
}
|
||||
wsPortlet.getGridGroupContainer().unmask();
|
||||
|
||||
GWT.log("target: "+target);
|
||||
|
||||
if(wsPortlet.getSearchAndFilterContainer().isSearchActive()){
|
||||
appContrExplorer.refreshRoot(false);
|
||||
}else
|
||||
AppControllerExplorer.getEventBus().fireEvent(new RefreshFolderEvent(target, true, false, true));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});*/
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1328,7 +1280,7 @@ public class AppController implements SubscriberInterface {
|
|||
initPortlet(rootPanel, instanceWithGrouping, searchingForItemId, searchParameter, itemIdParameter, operationParameter);
|
||||
|
||||
//CheckSession if you do not need to something when the session expire
|
||||
CheckSession.getInstance().startPolling();
|
||||
// CheckSession.getInstance().startPolling();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1615,7 +1567,7 @@ public class AppController implements SubscriberInterface {
|
|||
*/
|
||||
private boolean parentIsBreadcrumbLastParent(String parentId){
|
||||
FileModel breadParent = wsPortlet.getToolBarPath().getLastParent();
|
||||
return ((breadParent!=null) && (parentId!=null) && (breadParent.getIdentifier().compareTo(parentId)==0));
|
||||
return breadParent!=null && parentId!=null && breadParent.getIdentifier().compareTo(parentId)==0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -6,6 +6,85 @@
|
|||
|
||||
@import url(workspacebootstrap.min.css);
|
||||
|
||||
.gwt-DialogBoxNew
|
||||
{
|
||||
border: 8px solid #dfe8f6;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
box-shadow: none;
|
||||
line-height: 7px;
|
||||
opacity: 1;
|
||||
z-index: 1000;
|
||||
background-color : #FFFFFF;
|
||||
}
|
||||
|
||||
.gwt-DialogBoxNew .Caption {
|
||||
background: none repeat scroll 0 0 #dfe8f6;
|
||||
border: medium none #D4D4D4;
|
||||
cursor: default;
|
||||
font-family: Arial Unicode MS, Arial, sans-serif !important;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 27px;
|
||||
padding:2px 0px 0px 0px;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogContent {
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogMiddleCenter {
|
||||
padding: 3px;
|
||||
background: white;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogBottomCenter {
|
||||
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogMiddleLeft {
|
||||
/* background: url(images/vborder.png) repeat-y -31px 0px; */
|
||||
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogMiddleRight {
|
||||
/* background: url(images/vborder.png) repeat-y -32px 0px;
|
||||
|
||||
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogTopLeftInner {
|
||||
width: 10px;
|
||||
height: 8px;
|
||||
zoom: 1;
|
||||
background: none repeat scroll 0 0 #E4E4E4;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogTopRightInner {
|
||||
width: 12px;
|
||||
zoom: 1;
|
||||
background: none repeat scroll 0 0 #E4E4E4;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogBottomLeftInner {
|
||||
width: 10px;
|
||||
height: 12px;
|
||||
zoom: 1;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogBottomRightInner {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
zoom: 1;
|
||||
}*/
|
||||
.gwt-DialogBoxNew .dialogTopLeft {
|
||||
/* background: url(images/circles.png) no-repeat -20px 0px;
|
||||
-background: url(images/circles_ie6.png) no-repeat -20px 0px; */
|
||||
background: none repeat scroll 0 0 #E4E4E4;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogTopRight {
|
||||
/* background: url(images/circles.png) no-repeat -28px 0px;
|
||||
-background: url(images/circles_ie6.png) no-repeat -28px 0px; */
|
||||
background: none repeat scroll 0 0 #E4E4E4;
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogBottomLeft {
|
||||
/* background: url(images/circles.png) no-repeat 0px -36px;
|
||||
-background: url(images/circles_ie6.png) no-repeat 0px -36px; */
|
||||
}
|
||||
.gwt-DialogBoxNew .dialogBottomRight {
|
||||
/* background: url(images/circles.png) no-repeat -8px -36px;
|
||||
-background: url(images/circles_ie6.png) no-repeat -8px -36px; */
|
||||
}
|
||||
|
||||
#SearchAndFilter {
|
||||
background-color: #d0def0;
|
||||
/* Mozilla Firefox */
|
||||
|
|
Loading…
Reference in New Issue