Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security, manager
- Loading branch information
Showing
30 changed files
with
774 additions
and
219 deletions.
There are no files selected for viewing
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 0 additions & 90 deletions
90
com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/ImageUtils.java
This file was deleted.
Oops, something went wrong.
115 changes: 115 additions & 0 deletions
115
com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/ToobalImageUtils.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2013 hangum. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the GNU Lesser Public License v2.1 | ||
* which accompanies this distribution, and is available at | ||
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | ||
* | ||
* Contributors: | ||
* hangum - initial API and implementation | ||
******************************************************************************/ | ||
package com.hangum.tadpole.commons.util; | ||
|
||
import org.eclipse.swt.graphics.Image; | ||
|
||
import com.hangum.tadpole.commons.Activator; | ||
import com.swtdesigner.ResourceManager; | ||
|
||
/** | ||
* Common Images utils | ||
* | ||
* @author hangum | ||
* | ||
*/ | ||
public class ToobalImageUtils { | ||
public static final String IMAGE_Activator_ID = Activator.ID; | ||
|
||
/** | ||
* add database | ||
* @return | ||
*/ | ||
public static final Image getAddDatabase() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/add_database.png"); | ||
} | ||
|
||
/** | ||
* configuration database | ||
* @return | ||
*/ | ||
public static final Image getConfigurationDatabase() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/configuration_database.png"); | ||
} | ||
|
||
|
||
/** | ||
* refresh img | ||
* @return | ||
*/ | ||
public static final Image getRefresh() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/refresh.png"); | ||
} | ||
|
||
/** | ||
* add image | ||
* @return | ||
*/ | ||
public static final Image getAdd() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/add.png"); | ||
} | ||
|
||
/** | ||
* user add image | ||
* @return | ||
*/ | ||
public static final Image getUserAdd() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/user-add-0.56.png"); | ||
} | ||
|
||
/** | ||
* delete image | ||
* @return | ||
*/ | ||
public static Image getSave() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/save.png"); | ||
} | ||
|
||
/** | ||
* delete image | ||
* @return | ||
*/ | ||
public static Image getDelete() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/delete.png"); | ||
} | ||
|
||
/** | ||
* moidfy image | ||
* @return | ||
*/ | ||
public static Image getModify() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/modify.png"); | ||
} | ||
|
||
/** | ||
* export image | ||
* @return | ||
*/ | ||
public static Image getExport() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/export.png"); | ||
} | ||
|
||
/** | ||
* import image | ||
* @return | ||
*/ | ||
public static Image getImport() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/import.png"); | ||
} | ||
|
||
public static Image getQueryHistory() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/queryhistory.png"); | ||
} | ||
|
||
public static Image getSQLEditor() { | ||
return ResourceManager.getPluginImage(ToobalImageUtils.IMAGE_Activator_ID, "resources/icons/sql-query.png"); | ||
} | ||
} |
Oops, something went wrong.