"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/extension/frontend/client/widget/extraworkspace/ExtraTabWorkspace.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

ExtraTabWorkspace.java  (OpenKM-document-management-system-6.3.10):ExtraTabWorkspace.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 24 skipping to change at line 24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* <p> * <p>
* You should have received a copy of the GNU General Public License along * You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
package com.openkm.extension.frontend.client.widget.extraworkspace; package com.openkm.extension.frontend.client.widget.extraworkspace;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* ExtraWorkspace * ExtraWorkspace
* *
* @author jllort * @author sochoa
*
*/ */
public class ExtraTabWorkspace { public class ExtraTabWorkspace {
private static ExtraTabWorkspace singleton;
private static final String UUID = "c20c69a8-7d6b-4539-9e6b-6f2c11e84168" ; private static final String UUID = "c20c69a8-7d6b-4539-9e6b-6f2c11e84168" ;
public static final String KEY = "extension.extra.tab.workspace";
private static ExtraTabWorkspace singleton;
private TabWorkspace tabWorkspace; private TabWorkspace tabWorkspace;
/** /**
* ExtraWorkspace * ExtraWorkspace
*/ */
public ExtraTabWorkspace(List<String> uuidList) { public ExtraTabWorkspace(List<String> uuidList) {
singleton = this;
if (isRegistered(uuidList)) { if (isRegistered(uuidList)) {
tabWorkspace = new TabWorkspace(); tabWorkspace = new TabWorkspace();
} }
} }
/** public TabWorkspace getTabWorkspace() {
* getExtensions return tabWorkspace;
*/
public List<Object> getExtensions() {
List<Object> extensions = new ArrayList<Object>();
extensions.add(singleton);
extensions.add(tabWorkspace);
return extensions;
} }
/** /**
* isRegistered * isRegistered
*/ */
public static boolean isRegistered(List<String> uuidList) { public static boolean isRegistered(List<String> uuidList) {
return uuidList.contains(UUID); return uuidList.contains(UUID);
} }
/**
* getSimpleName
*/
public static String getSimpleName() {
return "com.openkm.extension.frontend.client.widget.extraworkspac
e.ExtraTabWorkspace";
}
} }
 End of changes. 7 change blocks. 
14 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)