Package com.zaranux.os.client.access

Source Code of com.zaranux.os.client.access.ACLComponent

package com.zaranux.os.client.access;

import com.zaranux.client.api.AsyncCallback;
import com.zaranux.client.java.io.File;

import com.zaranux.os.client.access.ui.ACLListGrid;
import com.zaranux.os.client.core.Component;
import com.zaranux.os.client.core.ComponentContainer;
import com.zaranux.os.client.core.Program;
import com.zaranux.os.client.util.Log;

public class ACLComponent extends Component {

  ACLListGrid aclListGrid;
  public ACLComponent(File[] files, ComponentContainer container)
  {
    super(container);
    if(files != null  && files.length > 0)
    {
      aclListGrid = new ACLListGrid(files[0]);
      setWidget(aclListGrid);
    }
  }
 
  public void save(AsyncCallback<Boolean> callback)
  {
    Log.debug("saving acllistgrid ");
    aclListGrid.save(callback);
  }
 
}
TOP

Related Classes of com.zaranux.os.client.access.ACLComponent

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.